[Box Backup-dev] COMMIT r695 - box/chris/general/lib/backupclient
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Wed, 26 Jul 2006 23:13:54 +0000 (GMT)
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);