aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
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();
}