]> Savannah Git Hosting - gnulib.git/commit
wctype-h: Work around iswprint bug on mingw.
authorBruno Haible <bruno@clisp.org>
Wed, 26 Jul 2023 12:13:48 +0000 (14:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Jul 2023 12:13:48 +0000 (14:13 +0200)
commit1a602613384e6dcec05eb693bc63726600520cd7
treed40f1de5dcbfa2f44425f736a3b78ad96152e8db
parentac0d99cd6c13782df7e42e6e83a8bcb8fc273906
wctype-h: Work around iswprint bug on mingw.

* lib/wctype.in.h (rpl_iswprint): On mingw, don't use the system's
iswprint function.
* tests/test-wctype-h.c (main): Verify that this character class
contains the ASCII space but not tab and newline.
* tests/test-c32isprint.c (main): For tab, \v, \f, expect the same value
on native Windows as on other platforms.
* doc/posix-functions/iswprint.texi: Mention the mingw bug.
ChangeLog
doc/posix-functions/iswprint.texi
lib/wctype.in.h
tests/test-c32isprint.c
tests/test-wctype-h.c