Skip to content

Commit

Permalink
* truncated dLabPro Git ID to 10 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
wolff committed May 28, 2014
1 parent 46216ec commit 166b8aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions base/dlpbase/dlp_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,16 @@ const char* dlp_get_version_info()
char lpsMachine[255];
char lpsDr[32];
char lpsPid[32];
const char* lpsBuild = "";
char lpsBuild[64] = "";

strcpy(lpsOS ,"");
strcpy(lpsMachine,"");
strcpy(lpsDr ,"");
sprintf(lpsPid," PID:%ld",(long)dlp_getpid());

#ifdef __DLP_BUILD
lpsBuild = __DLP_BUILD;
dlp_strupr(dlp_strcpy(lpsBuild,__DLP_BUILD));
lpsBuild[10]='\0';
#endif

/* OS */
Expand Down
16 changes: 8 additions & 8 deletions manual/automatic/dlpbase.html
Original file line number Diff line number Diff line change
Expand Up @@ -3787,7 +3787,7 @@ <h3>See also</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(364)</td>
<td class="hidden">dlp_session.c(365)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -3943,7 +3943,7 @@ <h3>See also</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(313)</td>
<td class="hidden">dlp_session.c(314)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -4625,7 +4625,7 @@ <h3>See also</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(349)</td>
<td class="hidden">dlp_session.c(350)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -7106,7 +7106,7 @@ <h3>Parameters</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(323)</td>
<td class="hidden">dlp_session.c(324)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -7150,7 +7150,7 @@ <h3>Return value</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(345)</td>
<td class="hidden">dlp_session.c(346)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -7862,7 +7862,7 @@ <h3>Parameters</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(360)</td>
<td class="hidden">dlp_session.c(361)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -8085,7 +8085,7 @@ <h3>Parameters</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(303)</td>
<td class="hidden">dlp_session.c(304)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down Expand Up @@ -8597,7 +8597,7 @@ <h3>Return value</h3>
<td class="hidden">&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">Source</td>
<td class="hidden">:&nbsp;&nbsp;&nbsp;</td>
<td class="hidden">dlp_session.c(336)</td>
<td class="hidden">dlp_session.c(337)</td>
</tr>
</table></div>
<div class="mframe2">
Expand Down

0 comments on commit 166b8aa

Please sign in to comment.