diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 19:59:18 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 19:59:18 +0000 |
commit | c9a4363f78b210df9deaa268b7ad57ee39214e42 (patch) | |
tree | 8a2e8137a083a6133926148598d021e03b011b5d /lib | |
parent | becc1071305fd999bd0e0994b59cee351f0737db (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.cpp | 2 |
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); |