[Box Backup-commit] COMMIT r981 - box/trunk/lib/backupclient
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Oct 12 21:51:06 BST 2006
Author: chris
Date: 2006-10-12 21:51:06 +0100 (Thu, 12 Oct 2006)
New Revision: 981
Modified:
box/trunk/lib/backupclient/BackupStoreFile.cpp
Log:
* Close file before trying to apply attributes to it. Otherwise,
when we close it the timestamp will be updated on Win32 (refs #3)
Modified: box/trunk/lib/backupclient/BackupStoreFile.cpp
===================================================================
--- box/trunk/lib/backupclient/BackupStoreFile.cpp 2006-10-12 20:50:24 UTC (rev 980)
+++ box/trunk/lib/backupclient/BackupStoreFile.cpp 2006-10-12 20:51:06 UTC (rev 981)
@@ -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-commit
mailing list