From b3ffcdf91608d4435acfb9b0a6266a4073ffaf7f Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Fri, 1 May 2015 13:32:25 +0200 Subject: [PATCH] don't imbue boost::filesystem::path with locale "C" on windows fixes https://github.com/bitcoin/bitcoin/issues/6078 --- src/util.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util.cpp b/src/util.cpp index c9e8242d4..37fd326f2 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -738,7 +738,9 @@ void SetupEnvironment() #endif // The path locale is lazy initialized and to avoid deinitialization errors // in multithreading environments, it is set explicitly by the main thread. +#if !defined(WIN32) boost::filesystem::path::imbue(loc); +#endif } void SetThreadPriority(int nPriority)