[Box Backup-dev] COMMIT r695 - box/chris/general/lib/backupclient

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Jul 27 00:13:54 BST 2006


Author: chris
Date: 2006-07-26 23:13:52 +0000 (Wed, 26 Jul 2006)
New Revision: 695

Modified:
   box/chris/general/lib/backupclient/BackupStoreFile.cpp
Log:
* BackupStoreFile.cpp
- Close the file before setting attributes on it during restore, since
  closing it changes the last modified time attribute


Modified: box/chris/general/lib/backupclient/BackupStoreFile.cpp
===================================================================
--- box/chris/general/lib/backupclient/BackupStoreFile.cpp	2006-07-26 23:13:14 UTC (rev 694)
+++ box/chris/general/lib/backupclient/BackupStoreFile.cpp	2006-07-26 23:13:52 UTC (rev 695)
@@ -289,6 +289,8 @@
 			// Copy it out to the file
 			stream->CopyStreamTo(out);
 		}
+
+		out.Close();
 		
 		// Write the attributes
 		stream->GetAttributes().WriteAttributes(DecodedFilename);




More information about the Boxbackup-dev mailing list