[Box Backup-dev] changeset [819]
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Wed, 30 Aug 2006 23:08:23 +0100
Chris,
I can't see why this code from bin/bbstored/BackupCommands.cpp needs to
be conditionalised:
+#ifdef WIN32
+ std::ostringstream fs(rContext.GetStoreRoot());
+ fs << ".recombinetemp.";
+ fs << p;
+ std::string tempFn(fs.str());
+ tempFn =
RaidFileController::DiscSetPathToFileSystemPath(rContext.GetStoreDiscSet(), tempFn, p + 16);
+#else
+ std::string
tempFn(RaidFileController::DiscSetPathToFileSystemPath(rContext.GetStoreDiscSet(), rContext.GetStoreRoot() + ".recombinetemp", p + 16 /* rotate which disc it's on */));
+#endif
Cheers,
Martin.