Ignore:
Timestamp:
07/22/11 08:50:56 (13 years ago)
Author:
tbretz
Message:
Changed GetFileSizeOnDisk to be static so it can be accessed from the outside.
File:
1 edited

Legend:

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

    r11318 r11534  
    7272//! @return the size of the file, in bytes
    7373//
    74 int64_t DimWriteStatistics::GetFileSizeOnDisk(const string& file)
     74int64_t DimWriteStatistics::GetFileSizeOnDisk(const string& file, MessageImp &log)
    7575{
    7676     errno = 0;
     
    8585     ostringstream str;
    8686     str << "stat() failed for '" << file << "': " << strerror(errno) << " [errno=" << errno << "]";
    87      fLog.Error(str);
     87     log.Error(str);
    8888
    8989     return -1;
Note: See TracChangeset for help on using the changeset viewer.