-
setlocale() is not threadsafe except when used only to query the locale without changing it. Let's use uselocale() instead, which changes the locale only on the calling thread. Much better.
a22da99a
setlocale() is not threadsafe except when used only to query the locale without changing it. Let's use uselocale() instead, which changes the locale only on the calling thread. Much better.