Changeset 838 for trunk/dll/dirsize.c
- Timestamp:
- Sep 21, 2007, 9:19:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r814 r838 124 124 DosError(FERR_DISABLEHARDERR); 125 125 // Check directory exists 126 rc = DosFindFirst(pszFileName, &hdir,127 FILE_NORMAL | FILE_READONLY | FILE_ARCHIVED |128 FILE_SYSTEM | FILE_HIDDEN | MUST_HAVE_DIRECTORY,129 pffbArray, ulBufBytes, &ulFindCnt, FIL_QUERYEASIZE);126 rc = xDosFindFirst(pszFileName, &hdir, 127 FILE_NORMAL | FILE_READONLY | FILE_ARCHIVED | 128 FILE_SYSTEM | FILE_HIDDEN | MUST_HAVE_DIRECTORY, 129 pffbArray, ulBufBytes, &ulFindCnt, FIL_QUERYEASIZE); 130 130 131 131 if (!rc) … … 213 213 // 13 Aug 07 SHL fixme to know if need to support fRemoteBug here like objcnr.c? 214 214 ulFindCnt = FilesToGet; 215 rc = DosFindFirst(maskstr, &hdir,216 FILE_NORMAL | FILE_READONLY | FILE_ARCHIVED |217 FILE_SYSTEM | FILE_HIDDEN | FILE_DIRECTORY,218 pffbArray, ulBufBytes, &ulFindCnt, FIL_QUERYEASIZE);215 rc = xDosFindFirst(maskstr, &hdir, 216 FILE_NORMAL | FILE_READONLY | FILE_ARCHIVED | 217 FILE_SYSTEM | FILE_HIDDEN | FILE_DIRECTORY, 218 pffbArray, ulBufBytes, &ulFindCnt, FIL_QUERYEASIZE); 219 219 if (!rc) { 220 220 PFILEFINDBUF4 pffbFile; … … 277 277 ulFindCnt = FilesToGet; 278 278 DosError(FERR_DISABLEHARDERR); 279 rc = DosFindNext(hdir, pffbArray, ulBufBytes, &ulFindCnt);279 rc = xDosFindNext(hdir, pffbArray, ulBufBytes, &ulFindCnt); 280 280 } // while more found 281 281
Note:
See TracChangeset
for help on using the changeset viewer.