https://bugs.winehq.org/show_bug.cgi?id=39241
Bug ID: 39241 Summary: msvcrt:string fails in a mixed locale configuration Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The following error only happens on the mixed locale WineTest box.
string.c:2654: Test failed: ret = d0
That box (fg-win7u64-1spie9-mx) has the following locale settings: Formats=Inuktitut (Syllabics, Canada) Location=Israel Language=German (Germany) SystemLocale=Japanese (Japan)
So either it's comparing the result of two functions that use different locales, or, since it's the tolower test, it depends on uppercase / lowercase relationships that don't hold in all locales.
This tests regression was introduced by the following commit:
commit 13f6194bb15fe87c9c385b066b099f8416317fb3 Author: Piotr Caban piotr@codeweavers.com Date: Thu Mar 13 14:12:53 2014 +0100
msvcrt: Improve tolower tests.
See: https://test.winehq.org/data/tests/msvcrt:string.html