Changeset 1117 for trunk/dll/assoc.c


Ignore:
Timestamp:
Aug 24, 2008, 8:31:35 PM (17 years ago)
Author:
Gregg Young
Message:

Check disk free space before writing data files to prevent traps from being on a full disk (ticket 154)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/assoc.c

    r1104 r1117  
    266266#endif
    267267  BldFullPathName(s, pFM2SaveDirectory, "ASSOC.DAT");
     268  if (CheckDriveSpaceAvail(s, ullDATFileSpaceNeeded, 0) == 2)
     269    return; //already gave error msg
    268270  fp = xfopen(s, "w", pszSrcFile, __LINE__);
    269271  if (fp) {
Note: See TracChangeset for help on using the changeset viewer.