Changeset 780 for trunk/dll/dirsize.c
- Timestamp:
- Aug 12, 2007, 12:39:33 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r779 r780 99 99 ULONGLONG ull; 100 100 HDIR hdir; 101 FILEFINDBUF4 *pffb ;101 FILEFINDBUF4 *pffb, *pffbTemp; 102 102 APIRET rc; 103 103 RECORDINSERT ri; … … 208 208 } 209 209 hdir = HDIR_CREATE; 210 pffbTemp = pffb; 210 211 nm = FilesToGet; 211 pffb = 212 xrealloc(pffb, (nm + 1) * sizeof(FILEFINDBUF4), pszSrcFile, __LINE__); 212 pffb = xrealloc(pffb, (nm + 1) * sizeof(FILEFINDBUF4), pszSrcFile, __LINE__); 213 if (!pffb) { //Error already sent 214 free(pffbTemp); 215 return FALSE; 216 } 213 217 rc = DosFindFirst(maskstr, &hdir, 214 218 FILE_NORMAL | FILE_READONLY | FILE_ARCHIVED | … … 217 221 if (!rc) { 218 222 register PBYTE fb = (PBYTE) pffb; 219 FILEFINDBUF4 *pffbFile , *pffbTemp;223 FILEFINDBUF4 *pffbFile; 220 224 ULONG x; 221 225 UINT y = 1;
Note:
See TracChangeset
for help on using the changeset viewer.