Changeset 1120 for trunk/dll/misc.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/misc.c

    r1118 r1120  
    22372237    CHAR szKB[20];
    22382238
    2239     if (ullFreeSpaceWhenComplete == 0)
    2240       ullSpaceNeeded = 0;
    2241     commafmt(szKB, sizeof(szKB),
    2242              (ULONG) ullFreeQty - ullSpaceNeeded);
     2239    CommaFmtULL(szKB, sizeof(szKB),
     2240                ullFreeQty - ullSpaceNeeded, ' ');
    22432241    if (ullFreeSpaceWhenComplete == 0) {
    22442242      saymsg(MB_OK,
     
    22462244             NullStr,
    22472245             GetPString(IDS_DRIVESPACELIMITEDTMPSAVE),
    2248              pTargetPath,
    2249              szKB);
     2246             pTargetPath);
    22502247      return 0;
    22512248    }
Note: See TracChangeset for help on using the changeset viewer.