Changeset 983
- Timestamp:
- 12/10/2006 21:52:52 (5 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/backupstore/BackupStoreCheck.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/backupstore/BackupStoreCheck.cpp
r851 r983 329 329 StoreStructure::MakeObjectFilename(StartID, mStoreRoot, mDiscSetNumber, dirName, false /* don't make sure the dir exists */); 330 330 // Check expectations 331 ASSERT(dirName.size() > 4 && dirName[dirName.size() - 4] == '/'); 331 ASSERT(dirName.size() > 4 && 332 dirName[dirName.size() - 4] == DIRECTORY_SEPARATOR_ASCHAR); 332 333 // Remove the filename from it 333 334 dirName.resize(dirName.size() - 4); // four chars for "/o00" … … 378 379 { 379 380 // Unexpected or bad file, delete it 380 ::printf("Spurious file %s/%s found%s\n", dirName.c_str(), (*i).c_str(), mFixErrors?", deleting":""); 381 ::printf("Spurious file %s" DIRECTORY_SEPARATOR "%s " 382 "found%s\n", dirName.c_str(), (*i).c_str(), 383 mFixErrors?", deleting":""); 381 384 ++mNumberErrorsFound; 382 385 if(mFixErrors)
Note: See TracChangeset
for help on using the changeset viewer.
