aboutsummaryrefslogtreecommitdiff
path: root/src/util.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/util.cpp
parent37e7e72041686682b1014157dd8a177f65189368 (diff)
Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: boost::system
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cf8ff5361f..6c007c1151 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -862,7 +862,6 @@ string GetConfigFile()
fs::path pathConfigFile(GetArg("-conf", "bitcoin.conf"));
if (!pathConfigFile.is_complete()) pathConfigFile = fs::path(GetDataDir()) / pathConfigFile;
- pathConfigFile.make_preferred();
return pathConfigFile.string();
}
@@ -877,7 +876,6 @@ bool ReadConfigFile(map<string, string>& mapSettingsRet,
if (fs::is_directory(fs::system_complete(mapSettingsRet["-datadir"])))
{
fs::path pathDataDir(fs::system_complete(mapSettingsRet["-datadir"]));
- pathDataDir.make_preferred();
strlcpy(pszSetDataDir, pathDataDir.string().c_str(), sizeof(pszSetDataDir));
}
@@ -915,7 +913,6 @@ string GetPidFile()
fs::path pathPidFile(GetArg("-pid", "bitcoind.pid"));
if (!pathPidFile.is_complete()) pathPidFile = fs::path(GetDataDir()) / pathPidFile;
- pathPidFile.make_preferred();
return pathPidFile.string();
}