Changeset 1116 for trunk/dll/seeall.c
- Timestamp:
- Aug 24, 2008, 8:28:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/dll/seeall.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r1084 r1116 715 715 716 716 FSALLOCATE fsa; 717 ULONG clFreeBytes;717 ULONGLONG ullFreeBytes; 718 718 CHAR *ptr; 719 719 INT cntr; … … 724 724 if (!DosQueryFSInfo(toupper(*newname) - '@', 725 725 FSIL_ALLOC, &fsa, sizeof(fsa))) { 726 // Assume <2GB since file did not fit727 clFreeBytes =fsa.cUnitAvail * fsa.cSectorUnit *726 // Assume large file support 727 ullFreeBytes = (ULONGLONG) fsa.cUnitAvail * fsa.cSectorUnit * 728 728 fsa.cbSector; 729 if ( clFreeBytes) {729 if (ullFreeBytes) { 730 730 // Find item that will fit in available space 731 731 for (cntr = x + 1; list[cntr]; cntr++) { … … 736 736 !(fs4.attrFile & FILE_DIRECTORY) && 737 737 // fixme to use CBLIST_TO_EASIZE? 738 fs4.cbFile + fs4.cbList <= clFreeBytes) {738 fs4.cbFile + fs4.cbList <= ullFreeBytes) { 739 739 // Swap with failing item 740 740 ptr = list[x];
Note:
See TracChangeset
for help on using the changeset viewer.
