aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-04-11 14:00:48 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-04-11 14:00:48 -0400
commit2232717cba9e9f06a01e8f37bcea4e79ee65205f (patch)
tree5634c4f29b193b973f352edc1db27265bce103e5 /src/db.cpp
parent37e7e72041686682b1014157dd8a177f65189368 (diff)
Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: boost::system
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/db.cpp b/src/db.cpp
index d47c159437..ceae47fbb9 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -80,10 +80,8 @@ CDB::CDB(const char* pszFile, const char* pszMode) : pdb(NULL)
return;
string strDataDir = GetDataDir();
filesystem::path pathLogDir(strDataDir + "/database");
- pathLogDir.make_preferred();
filesystem::create_directory(pathLogDir);
filesystem::path pathErrorFile(strDataDir + "/db.log");
- pathErrorFile.make_preferred();
printf("dbenv.open LogDir=%s ErrorFile=%s\n", pathLogDir.string().c_str(), pathErrorFile.string().c_str());
int nDbCache = GetArg("-dbcache", 25);
@@ -1179,9 +1177,7 @@ bool BackupWallet(const CWallet& wallet, const string& strDest)
// Copy wallet.dat
filesystem::path pathSrc(GetDataDir() + "/" + wallet.strWalletFile);
- pathSrc.make_preferred();
filesystem::path pathDest(strDest);
- pathDest.make_preferred();
if (filesystem::is_directory(pathDest))
pathDest = pathDest / wallet.strWalletFile;