Thomas Crider : ntdll: Add missing LC_NUMERIC locale setting to init_locale.
Alexandre Julliard
julliard at winehq.org
Mon Jul 6 16:20:46 CDT 2020
Module: wine
Branch: master
Commit: 031c744a1fb9b94f7a4634eae5f56845b586554d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=031c744a1fb9b94f7a4634eae5f56845b586554d
Author: Thomas Crider <gloriouseggroll at gmail.com>
Date: Sun Jul 5 11:16:06 2020 -0600
ntdll: Add missing LC_NUMERIC locale setting to init_locale.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49489
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49417
Signed-off-by: Thomas Crider <gloriouseggroll at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/env.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/env.c b/dlls/ntdll/unix/env.c
index eb75e6e949..c9764e5c6e 100644
--- a/dlls/ntdll/unix/env.c
+++ b/dlls/ntdll/unix/env.c
@@ -943,6 +943,7 @@ static void init_locale(void)
if (preferred_langs) CFRelease( preferred_langs );
}
#endif
+ setlocale( LC_NUMERIC, "C" ); /* FIXME: oleaut32 depends on this */
}
More information about the wine-cvs
mailing list