Changeset 11316


Ignore:
Timestamp:
07/10/11 15:20:47 (13 years ago)
Author:
tbretz
Message:
Fixed return value for stat() of filename; added GetUpdateInterval
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimWriteStatistics.cc

    r11309 r11316  
    8181     //ignoring error #2: no such file or directory is not an error for new files
    8282     if (errno == 0 || errno == 2)
    83          return -1;
     83         return 0;
    8484
    8585     ostringstream str;
  • trunk/FACT++/src/DimWriteStatistics.h

    r11307 r11316  
    6868
    6969    const Stats &GetTotalSizeWritten() const { return fStats; }
     70    uint16_t GetUpdateInterval() const { return fUpdateInterval; }
    7071};
    7172
Note: See TracChangeset for help on using the changeset viewer.