This re-adds the missing setlocale( LC_NUMERIC, "C" ); that was not transferred when ntdll locale code was moved to ntdll/unix in commit b86dc3926bfe5cd92400aa96c89b0255eba1d447.
Fixes: https://bugs.winehq.org/show_bug.cgi?id=49489 https://bugs.winehq.org/show_bug.cgi?id=49417
Signed-off-by: Thomas Crider gloriouseggroll@gmail.com --- 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 */ }
Thomas Crider gloriouseggroll@gmail.com writes:
This re-adds the missing setlocale( LC_NUMERIC, "C" ); that was not transferred when ntdll locale code was moved to ntdll/unix in commit b86dc3926bfe5cd92400aa96c89b0255eba1d447.
Fixes: https://bugs.winehq.org/show_bug.cgi?id=49489 https://bugs.winehq.org/show_bug.cgi?id=49417
Signed-off-by: Thomas Crider gloriouseggroll@gmail.com
dlls/ntdll/unix/env.c | 1 + 1 file changed, 1 insertion(+)
I'll commit this for now, but note that it's only hiding the problem. This should be fixed in msvcrt.