[Box Backup-dev] COMMIT r396 - box/chris/win32/cygwin-compile-fixes/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Tue Feb 7 11:05:05 GMT 2006


Author: chris
Date: 2006-02-07 11:05:03 +0000 (Tue, 07 Feb 2006)
New Revision: 396

Modified:
   box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp
Log:
* BackupDaemon.cpp
- Fixed resolving mount points on Cygwin


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:04:26 UTC (rev 395)
+++ box/chris/win32/cygwin-compile-fixes/bin/bbackupd/BackupDaemon.cpp	2006-02-07 11:05:03 UTC (rev 396)
@@ -1292,7 +1292,8 @@
 			// Do a fsstat on the pathname to find out which mount it's on
 			{
 
-#if defined HAVE_STRUCT_STATFS_F_MNTONNAME || defined WIN32
+#if defined HAVE_STRUCT_STATFS_F_MNTONNAME || defined WIN32 \
+	|| defined __CYGWIN__
 
 				// BSD style statfs -- includes mount point, which is nice.
 				struct statfs s;




More information about the Boxbackup-dev mailing list