Changeset 1395 for trunk/dll/comp.c
- Timestamp:
- Feb 8, 2009, 2:48:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r1394 r1395 61 61 25 Dec 08 GKY Add code to allow write verify to be turned off on a per drive basis. 62 62 11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c 63 07 Feb 09 GKY Add *DateFormat functions to format dates based on locale 63 64 64 65 ***********************************************************************/ … … 142 143 HDIR hdir = HDIR_CREATE; 143 144 ULONG ulFindCnt; 145 CHAR szCmmaFmtFileSize[81], szDate[11]; 144 146 145 147 // 13 Aug 07 SHL fimxe to use FileToGet … … 161 163 do { 162 164 strcpy(enddir, pffb->achName); 163 if (!(pffb->attrFile & FILE_DIRECTORY)) 164 // 27 Sep 07 SHL fixme to use CommaFmtULL 165 if (!(pffb->attrFile & FILE_DIRECTORY)) { 166 CommaFmtULL(szCmmaFmtFileSize, 167 sizeof(szCmmaFmtFileSize), pffb->cbFile, ' '); 168 FDateFormat(szDate, pffb->fdateLastWrite); 165 169 fprintf(fp, 166 "\"%s\",%u,% llu,%04u/%02u/%02u,%02u:%02u:%02u,%lu,%lu,N\n",170 "\"%s\",%u,%s,%s,%02u%s%02u%s%02u,%lu,%lu,N\n", 167 171 mask, 168 172 enddir - mask, 169 pffb->cbFile,170 (pffb->fdateLastWrite.year + 1980),171 pffb->fdateLastWrite.month,172 pffb->fdateLastWrite.day,173 pffb->ftimeLastWrite.hours,174 pffb->ftimeLastWrite.minutes,173 szCmmaFmtFileSize, 174 szDate, 175 pffb->ftimeLastWrite.hours, 176 TimeSeparator, 177 pffb->ftimeLastWrite.minutes, 178 TimeSeparator, 175 179 pffb->ftimeLastWrite.twosecs, 176 180 pffb->attrFile, 177 pffb->cbList > 4 ? pffb->cbList / 2 : 0); 181 pffb->cbList > 4 ? pffb->cbList / 2 : 0); 182 } 178 183 // Skip . and .. 179 184 else if (recurse &&
Note:
See TracChangeset
for help on using the changeset viewer.