[Box Backup-dev] COMMIT r361 - box/chris/win32/vc2005-compile-fixes/bin/bbackupd
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Feb 2 20:39:37 GMT 2006
Author: chris
Date: 2006-02-02 20:39:36 +0000 (Thu, 02 Feb 2006)
New Revision: 361
Modified:
box/chris/win32/vc2005-compile-fixes/bin/bbackupd/BackupDaemon.cpp
Log:
* bin/bbackupd/BackupDaemon.cpp
- Microsoft's VC compiler does not recognise #warning
Modified: box/chris/win32/vc2005-compile-fixes/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/win32/vc2005-compile-fixes/bin/bbackupd/BackupDaemon.cpp 2006-02-02 20:36:09 UTC (rev 360)
+++ box/chris/win32/vc2005-compile-fixes/bin/bbackupd/BackupDaemon.cpp 2006-02-02 20:39:36 UTC (rev 361)
@@ -1700,7 +1700,9 @@
char newStateSize = sprintf(newState, "state %d\n", State);
#ifdef WIN32
- #warning FIX ME: race condition
+ #ifndef _MSC_VER
+ #warning FIX ME: race condition
+ #endif
// what happens if the socket is closed by the other thread before
// we can write to it? Null pointer deref at best.
More information about the Boxbackup-dev
mailing list