Changeset 130 for branches/v2.9_Lars/common_functions
- Timestamp:
- Nov 9, 2023, 5:42:55 PM (21 months ago)
- Location:
- branches/v2.9_Lars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v2.9_Lars
- Property svn:mergeinfo changed
/trunk merged: 107-113,126-129
- Property svn:mergeinfo changed
-
branches/v2.9_Lars/common_functions/helper.c
r74 r130 103 103 BOOL buildLogName( char * outBuf, char * logName,ULONG ulSize) 104 104 { 105 if(s nprintf(outBuf, ulSize,"logfiles\\%s",logName)==EOF)105 if(sprintf(outBuf, /*ulSize,*/"logfiles\\%s",logName)==EOF) 106 106 return FALSE; 107 107 return TRUE; … … 518 518 { 519 519 /* Build full path for cdrecord.ini file */ 520 s nprintf(chrBuffer, iBufferSize,"%s\\cdrecord.ini", chrInstallDir);520 sprintf(chrBuffer, /*iBufferSize,*/ "%s\\cdrecord.ini", chrInstallDir); 521 521 chrBuffer[iBufferSize-1]=0; /* Always terminate with zero */ 522 522 } -
branches/v2.9_Lars/common_functions/message.c
r89 r130 189 189 #define TLENGTH 256L 190 190 191 if(NULL HANDLE==(pText=malloc(TLENGTH*2*sizeof(char))))191 if(NULL==(pText=malloc(TLENGTH*2*sizeof(char)))) 192 192 return MBID_ERROR; 193 193 -
branches/v2.9_Lars/common_functions/uptime.c
r4 r130 296 296 seconds = uptime % (60L); 297 297 298 sprintf (chrTemp, "%l d %02ld:%02ld:%02ld",298 sprintf (chrTemp, "%lu %02lu:%02lu:%02lu", 299 299 days, hours, 300 300 minutes, seconds);
Note:
See TracChangeset
for help on using the changeset viewer.