[Box Backup-dev] COMMIT r770 - box/chris/general/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Aug 10 10:11:37 BST 2006
Author: chris
Date: 2006-08-10 09:11:37 +0000 (Thu, 10 Aug 2006)
New Revision: 770
Modified:
box/chris/general/lib/common/Test.h
Log:
* Test.h
- Unix fix
Modified: box/chris/general/lib/common/Test.h
===================================================================
--- box/chris/general/lib/common/Test.h 2006-08-10 09:11:13 UTC (rev 769)
+++ box/chris/general/lib/common/Test.h 2006-08-10 09:11:37 UTC (rev 770)
@@ -184,8 +184,14 @@
{
if (TestFileExists(pidFile))
break;
+
+ #ifdef WIN32
if (!ServerIsAlive((int)procInfo.dwProcessId))
+ #else
+ if (!ServerIsAlive(pid))
+ #endif
break;
+
::fprintf(stdout, ".");
::fflush(stdout);
::sleep(1);
More information about the Boxbackup-dev
mailing list