https://bugs.winehq.org/show_bug.cgi?id=53135
Bug ID: 53135 Summary: kernel32:locale fails in Wine in Japanese Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
kernel32:locale fails in Wine in Japanese:
locale.c:3359: Test failed: qsort using lstrcmpA failed for element 6 locale.c:3359: Test failed: qsort using lstrcmpA failed for element 7 locale.c:3359: Test failed: qsort using lstrcmpA failed for element 8 locale.c:3359: Test failed: qsort using lstrcmpA failed for element 9 locale.c:3359: Test failed: qsort using lstrcmpA failed for element 10 locale.c:3367: Test failed: qsort using CompareStringA failed for element 6 locale.c:3367: Test failed: qsort using CompareStringA failed for element 7 locale.c:3367: Test failed: qsort using CompareStringA failed for element 8 locale.c:3367: Test failed: qsort using CompareStringA failed for element 9 locale.c:3367: Test failed: qsort using CompareStringA failed for element 10 locale.c:3375: Test failed: qsort using sort keys failed for element 6 locale.c:3375: Test failed: qsort using sort keys failed for element 7 locale.c:3375: Test failed: qsort using sort keys failed for element 8 locale.c:3375: Test failed: qsort using sort keys failed for element 9 locale.c:3375: Test failed: qsort using sort keys failed for element 10
https://test.winehq.org/data/patterns.html#kernel32:locale
A bisect shows that these failures started with the commit below:
commit d8c973ad95ba5e8a9a51df0dd9be587950179ec3 Author: Alexandre Julliard julliard@winehq.org Date: Mon May 30 22:38:28 2022 +0200
kernelbase: Reimplement CompareStringEx using the sortkey generation code.
Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=53135
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d8c973ad95ba5e8a9a51df0dd9b | |e587950179ec3 Keywords| |regression, source, | |testcase
https://bugs.winehq.org/show_bug.cgi?id=53135
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | Regression SHA1|d8c973ad95ba5e8a9a51df0dd9b | |e587950179ec3 |
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- It fails the same way on Windows if the user locale is set to Japanese.
https://bugs.winehq.org/show_bug.cgi?id=53135
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows Summary|kernel32:locale fails in |kernel32:locale - |Wine in Japanese |test_sorting() fails in the | |Korean and Japanese locales | |on Windows and Wine
--- Comment #2 from François Gouget fgouget@codeweavers.com --- This also happens in the Korean locale on Windows. I updated the platform and summary accordingly.