[Bug 45322] League Of Legends installer on tr_TR.UTF-8: unknown color " systemhighlight"
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Mar 13 03:24:28 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=45322
--- Comment #9 from Jactry Zeng <jactry92 at gmail.com> ---
Created attachment 63861
--> https://bugs.winehq.org/attachment.cgi?id=63861
testcase of strncasecmp.
Interesting, this seems like a bug of glibc.
msvcrt._stricmp is using strncasecmp() from glibc for some case, and
strncasecmp() return a wrong result on tr_TR.UTF-8.
Attachment is a testcase for describing it, you can compile it with `gcc
test_strncasecmp.c -o test_strncasecmp -Wall`. On my Debian with 2.28-8 it
return -32 for the first comparing. And on macOS it returned 0, since macOS was
using a different C library implementation.
Commenting the strncasecmp() branch in msvcrt's MSVCRT__strnicmp_l() will make
this installer work, too.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list