[Box Backup-commit] COMMIT r1501 - box/chris/merge/test/backupstorefix

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Mar 25 00:49:16 GMT 2007


Author: chris
Date: 2007-03-25 00:49:16 +0000 (Sun, 25 Mar 2007)
New Revision: 1501

Modified:
   box/chris/merge/test/backupstorefix/testbackupstorefix.cpp
Log:
Close RaidFile before committing, so that commit can work on win32.

Typo fix.

(refs #3)


Modified: box/chris/merge/test/backupstorefix/testbackupstorefix.cpp
===================================================================
--- box/chris/merge/test/backupstorefix/testbackupstorefix.cpp	2007-03-25 00:43:59 UTC (rev 1500)
+++ box/chris/merge/test/backupstorefix/testbackupstorefix.cpp	2007-03-25 00:49:16 UTC (rev 1501)
@@ -125,6 +125,7 @@
 	w.Write(rubbish, rubbish_len);
 	// Copy rest of file
 	r->CopyStreamTo(w);
+	r->Close();
 	// Commit
 	w.Commit(true /* convert now */);
 }
@@ -448,7 +449,7 @@
 		}
 		
 		// ------------------------------------------------------------------------------------------------		
-		::printf("  === Delete directory, change container ID of another, duplicate entry in dir, supurious file size, delete file\n");
+		::printf("  === Delete directory, change container ID of another, duplicate entry in dir, spurious file size, delete file\n");
 		{
 			BackupStoreDirectory dir;
 			LoadDirectory("Test1/foreomizes/stemptinevidate/ict", dir);




More information about the Boxbackup-commit mailing list