Ignore:
Timestamp:
2008-06-09T14:34:46+12:00 (14 years ago)
Author:
anna
Message:

The old method for checking free disk space overflows (returns a negative number) when the physical free disk space is bigger than 4G. So instead of comparing by byte, now we compare by K. The return type is also changed, from unsigned long to double.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/gsinstaller/fileCopier.h

    r11664 r15927  
    2929  unsigned long getOriginalSize();
    3030  unsigned long getOriginalFiles();
    31   unsigned long getCopiedSize(DiskSpace &space);
     31  unsigned double getCopiedSize(DiskSpace &space);
    3232  bool ensureParent(FilePath &child, fileCopyMonitor *monitor);
    3333  bool copyFile(File *file, fileCopyMonitor *monitor, copyProgressBar *progressBar);
Note: See TracChangeset for help on using the changeset viewer.