Changeset 838 for trunk/dll/dirsize.c


Ignore:
Timestamp:
Sep 21, 2007, 9:19:18 PM (18 years ago)
Author:
Gregg Young
Message:

Remainder of changes for xDosFindFirst/Next wrapper performance test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r814 r838  
    124124  DosError(FERR_DISABLEHARDERR);
    125125  // 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);
    130130
    131131  if (!rc)
     
    213213  // 13 Aug 07 SHL fixme to know if need to support fRemoteBug here like objcnr.c?
    214214  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);
    219219  if (!rc) {
    220220    PFILEFINDBUF4 pffbFile;
     
    277277      ulFindCnt = FilesToGet;
    278278      DosError(FERR_DISABLEHARDERR);
    279       rc = DosFindNext(hdir, pffbArray, ulBufBytes, &ulFindCnt);
     279      rc = xDosFindNext(hdir, pffbArray, ulBufBytes, &ulFindCnt);
    280280    } // while more found
    281281
Note: See TracChangeset for help on using the changeset viewer.