Changeset 1118 for trunk/dll/grep2.c


Ignore:
Timestamp:
Aug 24, 2008, 10:52:23 PM (17 years ago)
Author:
Gregg Young
Message:

Clean up of fix for trap caused by FM/2 being on a full disk. It now preserves the data files. (Ticket 152, 271)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep2.c

    r1117 r1118  
    948948        if (sSelect > 0) {
    949949          BldFullPathName(s, pFM2SaveDirectory, "GREPMASK.DAT");
    950           if (CheckDriveSpaceAvail(s, ullDATFileSpaceNeeded, 0) == 2)
     950          if (CheckDriveSpaceAvail(s, ullDATFileSpaceNeeded, 1) == 2)
    951951            break; //already gave error msg
    952952          fp = xfopen(s, "w", pszSrcFile, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.