Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50362
Signed-off-by: John Zourlios john.kinigos@gmail.com
--- dlls/kernelbase/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c index c60b796aa48..51085f4377a 100644 --- a/dlls/kernelbase/locale.c +++ b/dlls/kernelbase/locale.c @@ -3021,7 +3021,7 @@ INT WINAPI CompareStringEx( const WCHAR *locale, DWORD flags, const WCHAR *str1, { DWORD supported_flags = NORM_IGNORECASE | NORM_IGNORENONSPACE | NORM_IGNORESYMBOLS | SORT_STRINGSORT | NORM_IGNOREKANATYPE | NORM_IGNOREWIDTH | LOCALE_USE_CP_ACP; - DWORD semistub_flags = NORM_LINGUISTIC_CASING | LINGUISTIC_IGNORECASE | 0x10000000; + DWORD semistub_flags = NORM_LINGUISTIC_CASING | LINGUISTIC_IGNORECASE | 0x10000000 | SORT_DIGITSASNUMBERS; /* 0x10000000 is related to diacritics in Arabic, Japanese, and Hebrew */ INT ret; static int once;
John Zourlios john.kinigos@gmail.com writes:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50362
Signed-off-by: John Zourlios john.kinigos@gmail.com
dlls/kernelbase/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This breaks the tests:
tools/runtest -q -P wine -T . -M kernel32.dll -p dlls/kernel32/tests/kernel32_test.exe locale && touch dlls/kernel32/tests/locale.ok locale.c:1880: Test failed: unexpected error code -559038737 locale.c:1882: Test failed: CompareStringA must fail with invalid flag make: *** [Makefile:67005: dlls/kernel32/tests/locale.ok] Error 2