diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-19 01:01:56 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-19 01:07:24 +0200 |
commit | 6c28538c9d6bbf692ab12972de6cc035e54b0c67 (patch) | |
tree | 192b7cf854082a8ebc66f8bb81d88bc6acc1fb5f /tests/test-c32rtomb-w32-7.sh | |
parent | 5c9f32c99a0ad5bb6977c4d416fd6835eeb4fad5 (diff) | |
download | gnulib-6c28538c9d6bbf692ab12972de6cc035e54b0c67.tar.gz |
wmemcmp: Work around ISO C compliance bug on several platforms.
* lib/wchar.in.h (wmemcmp): Consider REPLACE_WMEMCMP.
* lib/wmemcmp-impl.h (wmemcmp): Don't assume that the two wide
characters are in the range 0..INT_MAX.
* m4/wmemcmp.m4 (gl_FUNC_WMEMCMP): Test whether wmemcmp works for all
wide characters. Set REPLACE_WMEMCMP.
* m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WMEMCMP.
* modules/wchar (Makefile.am): Substitute REPLACE_WMEMCMP.
* modules/wmemcmp (configure.ac): Consider REPLACE_WMEMCMP.
* doc/posix-functions/wmemcmp.texi: Mention the bug.
Diffstat (limited to 'tests/test-c32rtomb-w32-7.sh')
0 files changed, 0 insertions, 0 deletions