]> Savannah Git Hosting - gnulib.git/commit
Fix mbscasestr test failure on native Windows with MSVC.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Sep 2024 11:09:59 +0000 (13:09 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Sep 2024 11:22:44 +0000 (13:22 +0200)
commitc6b61210824a69376cfb4b741cc1c47f3823ec20
treecb9a442f54d8df7466b7ee8928e20eefff091fb8
parent9879d8ab26d49483362d45c2ed5aa8f3667b5d12
Fix mbscasestr test failure on native Windows with MSVC.

* lib/c32to-impl.h (FUNC): On native Windows, ignore the system's
towlower/towupper function entirely.
* tests/test-c32tolower.c (main): On native Windows, reenable test that
previously failed.
* tests/test-c32toupper.c (main): Likewise. Disable two other tests on
native Windows.
* doc/posix-functions/towlower.texi: Mention bug in the native Windows
UTF-8 locale.
* doc/posix-functions/towupper.texi: Likewise.
ChangeLog
doc/posix-functions/towlower.texi
doc/posix-functions/towupper.texi
lib/c32to-impl.h
tests/test-c32tolower.c
tests/test-c32toupper.c