Changeset 1120 for trunk/dll/init.c
- Timestamp:
- Aug 26, 2008, 3:08:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r1117 r1120 714 714 if (!ret) { //check writable 715 715 pTmpDir = xstrdup(szTempName, pszSrcFile, __LINE__); 716 } //fixme to check freespace > 5 MB716 } 717 717 } 718 718 } … … 725 725 pFM2SaveDirectory = xstrdup(temp, pszSrcFile, __LINE__); 726 726 } 727 // Check free space on TMP and FM2 Save drives 727 728 { 728 CHAR szKBTmp[20];729 730 729 ullTmpSpaceNeeded = 5120000; 731 CommaFmtULL(szKBTmp, sizeof(szKBTmp),732 ullTmpSpaceNeeded, 'M');733 printf("%s\r", szKBTmp); fflush(stdout);734 730 if (pTmpDir && CheckDriveSpaceAvail(pTmpDir, ullTmpSpaceNeeded, 0) == 1) { 735 731 if (CheckDriveSpaceAvail(pFM2SaveDirectory, ullTmpSpaceNeeded, 0) == 0){ … … 738 734 NullStr, 739 735 GetPString(IDS_TMPDRIVESPACELIMITED), 740 pTmpDir, 741 szKBTmp); 736 pTmpDir); 742 737 if (ret == MBID_YES) 743 738 pTmpDir = pFM2SaveDirectory; … … 749 744 GetPString(IDS_SAVETMPDRIVESPACELIMITED), 750 745 pTmpDir, 751 szKBTmp, 752 pFM2SaveDirectory, 753 szKBTmp); 746 pFM2SaveDirectory); 754 747 } 755 748 else if (CheckDriveSpaceAvail(pFM2SaveDirectory, ullTmpSpaceNeeded, 0) == 1) … … 758 751 NullStr, 759 752 GetPString(IDS_SAVEDRIVESPACELIMITED), 760 pFM2SaveDirectory, 761 szKBTmp); 753 pFM2SaveDirectory); 762 754 } 763 755 BldFullPathName(ArcTempRoot, pTmpDir, fAmAV2 ? "$AV$ARC$" : "$FM$ARC$");
Note:
See TracChangeset
for help on using the changeset viewer.