Skip to content

Commit b3ffcdf

Browse files
committed
don't imbue boost::filesystem::path with locale "C" on windows
fixes bitcoin/bitcoin#6078
1 parent b46e7c2 commit b3ffcdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,9 @@ void SetupEnvironment()
738738
#endif
739739
// The path locale is lazy initialized and to avoid deinitialization errors
740740
// in multithreading environments, it is set explicitly by the main thread.
741+
#if !defined(WIN32)
741742
boost::filesystem::path::imbue(loc);
743+
#endif
742744
}
743745

744746
void SetThreadPriority(int nPriority)

0 commit comments

Comments
 (0)