Changeset 13159 for trunk/FACT++
- Timestamp:
- 03/21/12 14:22:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DimWriteStatistics.cc
r12346 r13159 178 178 { 179 179 struct statvfs vfs; 180 if (statvfs(folder. c_str(), &vfs))180 if (statvfs(folder.empty()?".":folder.c_str(), &vfs)) 181 181 { 182 182 fLog.Error("statvfs() failed for '"+folder+"'... ignoring it."); … … 184 184 } 185 185 186 fCurrentFolder = folder ;186 fCurrentFolder = folder.empty()?".":folder; 187 187 return true; 188 188 }
Note:
See TracChangeset
for help on using the changeset viewer.