Changeset 848 for trunk/dll/grep.c


Ignore:
Timestamp:
Sep 29, 2007, 10:55:14 PM (18 years ago)
Author:
Gregg Young
Message:

Opps I backed out one to many large file functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep.c

    r847 r848  
    454454  // process all matching files in a directory
    455455
    456   PFILEFINDBUF4 pffbArray;
    457   PFILEFINDBUF4 pffbFile;
     456  PFILEFINDBUF4L pffbArray;
     457  PFILEFINDBUF4L pffbFile;
    458458  ULONG x;
    459459  HDIR findHandle = HDIR_CREATE;
     
    488488  DosError(FERR_DISABLEHARDERR);
    489489  ulFindCnt = FilesToGet;
    490   rc = DosFindFirst(szFindPath,
    491                     &findHandle,
    492                     FILE_NORMAL | grep->attrFile | grep->antiattr,
    493                     pffbArray,
    494                     ulBufBytes,
    495                     &ulFindCnt,
    496                     FIL_QUERYEASIZE);
     490  rc = xDosFindFirst(szFindPath,
     491                     &findHandle,
     492                     FILE_NORMAL | grep->attrFile | grep->antiattr,
     493                     pffbArray,
     494                     ulBufBytes,
     495                     &ulFindCnt,
     496                     FIL_QUERYEASIZEL);
    497497  if (!rc) {
    498498    do {
     
    530530        if (!pffbFile->oNextEntryOffset)
    531531          break;
    532         pffbFile = (PFILEFINDBUF4)((PBYTE)pffbFile + pffbFile->oNextEntryOffset);
     532        pffbFile = (PFILEFINDBUF4L)((PBYTE)pffbFile + pffbFile->oNextEntryOffset);
    533533      } // for
    534534      if (*grep->stopflag)
     
    536536      DosSleep(0); //26 Aug 07 GKY 1
    537537      ulFindCnt = FilesToGet;
    538       rc = DosFindNext(findHandle, pffbArray, ulBufBytes, &ulFindCnt);
     538      rc = xDosFindNext(findHandle, pffbArray, ulBufBytes, &ulFindCnt);
    539539    } while (!rc);
    540540
Note: See TracChangeset for help on using the changeset viewer.