[Box Backup-dev] COMMIT r402 - box/chris/win32/cygwin-compile-fixes/bin/bbackupd
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Tue, 7 Feb 2006 23:49:33 +0000 (GMT)
Author: chris
Date: 2006-02-07 23:49:23 +0000 (Tue, 07 Feb 2006)
New Revision: 402
Modified:
box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp
Log:
* BackupDaemon.cpp
- Don't try to use emulated statfs on Cygwin, as it doesn't do what we want
Modified: box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp 2006-02-07 11:53:15 UTC (rev 401)
+++ box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp 2006-02-07 23:49:23 UTC (rev 402)
@@ -1292,8 +1292,7 @@
// Do a fsstat on the pathname to find out which mount it's on
{
-#if defined HAVE_STRUCT_STATFS_F_MNTONNAME || defined WIN32 \
- || defined __CYGWIN__
+#if defined HAVE_STRUCT_STATFS_F_MNTONNAME || defined WIN32
// BSD style statfs -- includes mount point, which is nice.
struct statfs s;