Mercurial > hg > svcore
diff system/System.cpp @ 436:cff476cfce77 sv1-v1.3 sv1-v1.3rc1
* Updates for 1.3
author | Chris Cannam |
---|---|
date | Thu, 10 Jul 2008 12:50:56 +0000 |
parents | 65311fb86166 |
children | ca208281238b |
line wrap: on
line diff
--- a/system/System.cpp Mon Jul 07 17:17:49 2008 +0000 +++ b/system/System.cpp Thu Jul 10 12:50:56 2008 +0000 @@ -258,7 +258,7 @@ if (!statvfs(path, &buf)) { // do the multiplies and divides in this order to reduce the // likelihood of arithmetic overflow - std::cerr << "statvfs(" << path << ") says available: " << buf.f_bavail << ", block size: " << buf.f_bsize << std::endl; +// std::cerr << "statvfs(" << path << ") says available: " << buf.f_bavail << ", block size: " << buf.f_bsize << std::endl; uint64_t available = ((buf.f_bavail / 1024) * buf.f_bsize) / 1024; if (available > INT_MAX) available = INT_MAX; return int(available);