[Box Backup-commit] COMMIT r2131 - box/trunk/lib/server
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Apr 5 01:47:39 BST 2008
Author: chris
Date: 2008-04-05 00:47:39 +0000 (Sat, 05 Apr 2008)
New Revision: 2131
Modified:
box/trunk/lib/server/Daemon.cpp
Log:
Command-line option fix from [1975]
Modified: box/trunk/lib/server/Daemon.cpp
===================================================================
--- box/trunk/lib/server/Daemon.cpp 2008-04-05 00:43:57 UTC (rev 2130)
+++ box/trunk/lib/server/Daemon.cpp 2008-04-05 00:47:39 UTC (rev 2131)
@@ -308,7 +308,7 @@
// reset getopt, just in case anybody used it before.
// unfortunately glibc and BSD differ on this point!
// http://www.ussg.iu.edu/hypermail/linux/kernel/0305.3/0262.html
- #if HAVE_DECL_OPTRESET == 1
+ #if HAVE_DECL_OPTRESET == 1 || defined WIN32
optind = 1;
optreset = 1;
#elif defined __GLIBC__
More information about the Boxbackup-commit
mailing list