summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-19 01:01:56 +0200
committerBruno Haible <bruno@clisp.org>2023-04-19 01:07:24 +0200
commit6c28538c9d6bbf692ab12972de6cc035e54b0c67 (patch)
tree192b7cf854082a8ebc66f8bb81d88bc6acc1fb5f /ChangeLog
parent5c9f32c99a0ad5bb6977c4d416fd6835eeb4fad5 (diff)
downloadgnulib-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 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b8c72490b..6e885d865c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2023-04-18 Bruno Haible <bruno@clisp.org>
+ 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.
+
+2023-04-18 Bruno Haible <bruno@clisp.org>
+
doc: Update platform list for posix_spawnp.
* doc/posix-functions/posix_spawnp.texi: Update platform list.