[Box Backup-dev] COMMIT r617 - box/chris/general/bin/bbstored

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Mon Jun 5 14:05:22 BST 2006


Author: chris
Date: 2006-06-05 13:05:15 +0000 (Mon, 05 Jun 2006)
New Revision: 617

Modified:
   box/chris/general/bin/bbstored/HousekeepStoreAccount.cpp
Log:
* HousekeepStoreAccount.cpp
- Close directory object when we've finished reading it, otherwise we
  can't delete in Commit() on Win32


Modified: box/chris/general/bin/bbstored/HousekeepStoreAccount.cpp
===================================================================
--- box/chris/general/bin/bbstored/HousekeepStoreAccount.cpp	2006-06-05 13:04:37 UTC (rev 616)
+++ box/chris/general/bin/bbstored/HousekeepStoreAccount.cpp	2006-06-05 13:05:15 UTC (rev 617)
@@ -253,6 +253,7 @@
 	// Read the directory in
 	BackupStoreDirectory dir;
 	dir.ReadFromStream(*dirStream, IOStream::TimeOutInfinite);
+	dirStream->Close();
 	
 	// Is it empty?
 	if(dir.GetNumberOfEntries() == 0)




More information about the Boxbackup-dev mailing list