[Box Backup-commit] COMMIT r1669 - box/chris/general/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu May 17 20:31:39 BST 2007


Author: chris
Date: 2007-05-17 20:31:38 +0100 (Thu, 17 May 2007)
New Revision: 1669

Modified:
   box/chris/general/bin/bbackupd/BackupDaemon.cpp
Log:
Apply remaining parts of Gary's patch, missing from [1658], thanks Gary
(refs #18)


Modified: box/chris/general/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-05-17 19:24:57 UTC (rev 1668)
+++ box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-05-17 19:31:38 UTC (rev 1669)
@@ -2798,6 +2798,26 @@
 		//
 		//
 		//
+		iCount = 0;
+		anArchive.Read(iCount);
+
+		for(int v = 0; v < iCount; v++)
+		{
+			int64_t anId;
+			anArchive.Read(anId);
+
+			std::string aName;
+			anArchive.Read(aName);
+
+			mUnusedRootDirEntries.push_back(std::pair<int64_t, std::string>(anId, aName));
+		}
+
+		if (iCount > 0)
+			anArchive.Read(mDeleteUnusedRootDirEntriesAfter);
+
+		//
+		//
+		//
 		aFile.Close();
 		BOX_INFO("Loaded store object info file version " << iVersion
 			<< "(" << StoreObjectInfoFile << ")");




More information about the Boxbackup-commit mailing list