[Box Backup-dev] COMMIT r701 - in box/chris/general: bin/bbstored lib/raidfile test/backupstore
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 27 Jul 2006 22:26:26 +0000 (GMT)
Author: chris
Date: 2006-07-27 22:26:25 +0000 (Thu, 27 Jul 2006)
New Revision: 701
Modified:
box/chris/general/bin/bbstored/BackupContext.cpp
box/chris/general/lib/raidfile/RaidFileWrite.cpp
box/chris/general/test/backupstore/testbackupstore.cpp
Log:
* test/backupstore/testbackupstore.cpp
* lib/raidfile/RaidFileWrite.cpp
* bin/bbstored/BackupContext.cpp
- Cosmetic spacing fixes, to reduce diff between trunk and general
Modified: box/chris/general/bin/bbstored/BackupContext.cpp
===================================================================
--- box/chris/general/bin/bbstored/BackupContext.cpp 2006-07-27 22:25:04 UTC (rev 700)
+++ box/chris/general/bin/bbstored/BackupContext.cpp 2006-07-27 22:26:25 UTC (rev 701)
@@ -527,7 +527,7 @@
}
#endif
}
-
+
// Get the blocks used
blocksUsed = storeFile.GetDiscUsageInBlocks();
Modified: box/chris/general/lib/raidfile/RaidFileWrite.cpp
===================================================================
--- box/chris/general/lib/raidfile/RaidFileWrite.cpp 2006-07-27 22:25:04 UTC (rev 700)
+++ box/chris/general/lib/raidfile/RaidFileWrite.cpp 2006-07-27 22:26:25 UTC (rev 701)
@@ -277,7 +277,7 @@
{
THROW_EXCEPTION(RaidFileException, OSError)
}
-
+
#ifndef WIN32
// Close file...
if(::close(mOSFileHandle) != 0)
@@ -331,7 +331,7 @@
{
THROW_EXCEPTION(RaidFileException, OSError)
}
-
+
// reset file handle
mOSFileHandle = -1;
}
Modified: box/chris/general/test/backupstore/testbackupstore.cpp
===================================================================
--- box/chris/general/test/backupstore/testbackupstore.cpp 2006-07-27 22:25:04 UTC (rev 700)
+++ box/chris/general/test/backupstore/testbackupstore.cpp 2006-07-27 22:26:25 UTC (rev 701)
@@ -1630,7 +1630,7 @@
TEST_THAT(decoded->GetNumBlocks() == 3);
}
-
+
#ifndef WIN32
// Try out doing this on a symlink
{