]> 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 13:51:37 +0000 (15:51 +0200)
commit90dd4e4cf14e8ddb5266a105c71273e6e4b5943b
treeeba75a4ba48e2f98f23a555c1153b330632439af
parentaa6b0414b1f990ac7b33433aa7a921ccb82be240
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