Changeset 1120 for trunk/dll/defview.c


Ignore:
Timestamp:
Aug 26, 2008, 3:08:28 AM (17 years ago)
Author:
Gregg Young
Message:

Check TMP directory space warn if lee than 5 MiB prevent archiver from opening if less than 10 KiB (It hangs and can't be closed) (Ticket 214) Also some cleanup of the error messages for CheckDriveSpaceAvail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/defview.c

    r985 r1120  
    1818  20 Dec 07 GKY Open jpg files with OS2 object default since image.exe fails
    1919  29 Feb 08 GKY Refactor global command line variables to notebook.h
     20  25 Aug 08 GKY Check TMP directory space warn if lee than 5 MiB prevent archiver from opening if
     21                less than 10 KiB (It hangs and can't be closed)
    2022
    2123***********************************************************************/
     
    304306  }
    305307
    306   if (ExecAssociation(hwnd, filename) == -1) {
     308  if (ExecAssociation(hwnd, filename) == -1 &&
     309      CheckDriveSpaceAvail(ArcTempRoot, ullDATFileSpaceNeeded, ullTmpSpaceNeeded) != 2) {
    307310    hwndArc = StartArcCnr((fExternalArcboxes || !swp ||
    308311                           strcmp(realappname, FM3Str)) ?
Note: See TracChangeset for help on using the changeset viewer.