Ignore:
Timestamp:
10/31/11 18:52:16 (13 years ago)
Author:
tbretz
Message:
Do not use statvfs in SetCurrentFolder.
File:
1 edited

Legend:

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

    r11974 r12346  
    177177bool DimWriteStatistics::SetCurrentFolder(const string& folder)
    178178{
    179     if (GetFreeSpace() == -1)
     179    struct statvfs vfs;
     180    if (statvfs(folder.c_str(), &vfs))
    180181    {
    181182        fLog.Error("statvfs() failed for '"+folder+"'... ignoring it.");
Note: See TracChangeset for help on using the changeset viewer.