[Box Backup-commit] COMMIT r1540 - box/chris/merge/test/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Apr 21 12:55:08 BST 2007


Author: chris
Date: 2007-04-21 12:55:07 +0100 (Sat, 21 Apr 2007)
New Revision: 1540

Modified:
   box/chris/merge/test/bbackupd/testbbackupd.cpp
Log:
Compile fix, comment out set_file_time helper function on non-Win32
platforms (refs #3)


Modified: box/chris/merge/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-04-21 11:43:58 UTC (rev 1539)
+++ box/chris/merge/test/bbackupd/testbbackupd.cpp	2007-04-21 11:55:07 UTC (rev 1540)
@@ -571,6 +571,7 @@
 	TestRemoteProcessMemLeaks("bbackupctl.memleaks");
 }
 
+#ifdef WIN32
 bool set_file_time(const char* filename, FILETIME creationTime, 
 	FILETIME lastModTime, FILETIME lastAccessTime)
 {
@@ -585,6 +586,7 @@
 	TEST_THAT(CloseHandle(handle));
 	return success;
 }
+#endif
 
 void intercept_setup_delay(const char *filename, unsigned int delay_after, 
 	int delay_ms, int syscall_to_delay);




More information about the Boxbackup-commit mailing list