Changeset 989 for box/trunk/bin/bbstored/BackupCommands.cpp
- Timestamp:
- 12/10/2006 22:35:39 (6 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbstored/BackupCommands.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbstored/BackupCommands.cpp
r341 r989 11 11 12 12 #include <syslog.h> 13 #include <sstream> 13 14 14 15 #include "autogen_BackupProtocolServer.h" … … 328 329 329 330 // Choose a temporary filename for the result of the combination 330 std::string tempFn(RaidFileController::DiscSetPathToFileSystemPath(rContext.GetStoreDiscSet(), rContext.GetStoreRoot() + ".recombinetemp", 331 p + 16 /* rotate which disc it's on */)); 331 std::ostringstream fs(rContext.GetStoreRoot()); 332 fs << ".recombinetemp."; 333 fs << p; 334 std::string tempFn(fs.str()); 335 tempFn = RaidFileController::DiscSetPathToFileSystemPath(rContext.GetStoreDiscSet(), tempFn, p + 16); 332 336 333 337 // Open the temporary file … … 360 364 361 365 // Then shuffle round for the next go 366 if (from.get()) from->Close(); 362 367 from = combined; 363 368 }
Note: See TracChangeset
for help on using the changeset viewer.
