summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-04-08 19:59:18 +0000
committerChris Wilson <chris+github@qwirx.com>2011-04-08 19:59:18 +0000
commitc9a4363f78b210df9deaa268b7ad57ee39214e42 (patch)
tree8a2e8137a083a6133926148598d021e03b011b5d /lib
parentbecc1071305fd999bd0e0994b59cee351f0737db (diff)
Fix double path separator in new store info filename which causes unlink()
to fail on Windows.
Diffstat (limited to 'lib')
-rw-r--r--lib/backupstore/BackupStoreInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreInfo.cpp b/lib/backupstore/BackupStoreInfo.cpp
index 99c2aa5b..cc4d2b35 100644
--- a/lib/backupstore/BackupStoreInfo.cpp
+++ b/lib/backupstore/BackupStoreInfo.cpp
@@ -299,7 +299,7 @@ std::auto_ptr<BackupStoreInfo> BackupStoreInfo::CreateForRegeneration(
int64_t BlockSoftLimit, int64_t BlockHardLimit)
{
// Generate the filename
- std::string fn(rRootDir + DIRECTORY_SEPARATOR INFO_FILENAME);
+ std::string fn(rRootDir + INFO_FILENAME);
// Make new object
std::auto_ptr<BackupStoreInfo> info(new BackupStoreInfo);