[Box Backup-commit] COMMIT r3038 - box/trunk/lib/backupstore
subversion at boxbackup.org
subversion at boxbackup.org
Tue Nov 1 23:37:13 GMT 2011
Author: chris
Date: 2011-11-01 23:37:12 +0000 (Tue, 01 Nov 2011)
New Revision: 3038
Modified:
box/trunk/lib/backupstore/BackupStoreCheck2.cpp
box/trunk/lib/backupstore/BackupStoreDirectory.h
Log:
Fix spelling error in AddUnattachedObject method name.
Modified: box/trunk/lib/backupstore/BackupStoreCheck2.cpp
===================================================================
--- box/trunk/lib/backupstore/BackupStoreCheck2.cpp 2011-11-01 23:36:26 UTC (rev 3037)
+++ box/trunk/lib/backupstore/BackupStoreCheck2.cpp 2011-11-01 23:37:12 UTC (rev 3038)
@@ -392,7 +392,7 @@
}
// Add a new entry in an appropriate place
- mDirectory.AddUnattactedObject(objectStoreFilename, modTime,
+ mDirectory.AddUnattachedObject(objectStoreFilename, modTime,
ObjectID, sizeInBlocks,
IsDirectory?(BackupStoreDirectory::Entry::Flags_Dir):(BackupStoreDirectory::Entry::Flags_File));
}
@@ -883,12 +883,12 @@
// --------------------------------------------------------------------------
//
// Function
-// Name: BackupStoreDirectory::AddUnattactedObject(...)
+// Name: BackupStoreDirectory::AddUnattachedObject(...)
// Purpose: Adds an object which is currently unattached. Assume that CheckAndFix() will be called afterwards.
// Created: 22/4/04
//
// --------------------------------------------------------------------------
-void BackupStoreDirectory::AddUnattactedObject(const BackupStoreFilename &rName,
+void BackupStoreDirectory::AddUnattachedObject(const BackupStoreFilename &rName,
box_time_t ModificationTime, int64_t ObjectID, int64_t SizeInBlocks, int16_t Flags)
{
Entry *pnew = new Entry(rName, ModificationTime, ObjectID, SizeInBlocks, Flags,
Modified: box/trunk/lib/backupstore/BackupStoreDirectory.h
===================================================================
--- box/trunk/lib/backupstore/BackupStoreDirectory.h 2011-11-01 23:36:26 UTC (rev 3037)
+++ box/trunk/lib/backupstore/BackupStoreDirectory.h 2011-11-01 23:37:12 UTC (rev 3038)
@@ -261,7 +261,9 @@
// For recovery of the store
// Implemented in BackupStoreCheck2.cpp
bool CheckAndFix();
- void AddUnattactedObject(const BackupStoreFilename &rName, box_time_t ModificationTime, int64_t ObjectID, int64_t SizeInBlocks, int16_t Flags);
+ void AddUnattachedObject(const BackupStoreFilename &rName,
+ box_time_t ModificationTime, int64_t ObjectID,
+ int64_t SizeInBlocks, int16_t Flags);
bool NameInUse(const BackupStoreFilename &rName);
// Don't use these functions in normal code!
More information about the Boxbackup-commit
mailing list