[Box Backup-commit] COMMIT r1362 - box/chris/general/lib/win32

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Mar 4 23:55:42 GMT 2007


Author: chris
Date: 2007-03-04 23:55:41 +0000 (Sun, 04 Mar 2007)
New Revision: 1362

Modified:
   box/chris/general/lib/win32/emu.cpp
Log:
Revert bad parts of [1347]


Modified: box/chris/general/lib/win32/emu.cpp
===================================================================
--- box/chris/general/lib/win32/emu.cpp	2007-03-04 23:41:22 UTC (rev 1361)
+++ box/chris/general/lib/win32/emu.cpp	2007-03-04 23:55:41 UTC (rev 1362)
@@ -14,11 +14,8 @@
 #ifdef HAVE_UNISTD_H
 	#include <unistd.h>
 #endif
+#include <process.h>
 
-#ifdef HAVE_PROCESS_H
-	#include <process.h>
-#endif
-
 #include <string>
 #include <list>
 
@@ -868,7 +865,7 @@
 	_ui64toa(fi.dwVolumeSerialNumber, s->f_mntonname + 1, 16);
 
 	// pseudo unix mount point
-	s->f_mntonname[0] = DIRECTORY_SEPARATOR_ASCHAR;
+	s->f_mntonname[0] = '\\';
 
 	CloseHandle(handle);   // close the handle
 




More information about the Boxbackup-commit mailing list