summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-19 17:59:03 +0200
committerBruno Haible <bruno@clisp.org>2023-04-19 17:59:03 +0200
commitccb59e4c36bea4915303a24ea1c7dec109db97eb (patch)
tree30eb5e84cca4b21d1a18982cd5676fe80aaed08e /ChangeLog
parent9bf6bcc74b4caf4d74bab8d98a4e00f761f2e5ca (diff)
downloadgnulib-ccb59e4c36bea4915303a24ea1c7dec109db97eb.tar.gz
wcsncmp: Work around two ISO C compliance bugs on several platforms.
* lib/wchar.in.h (wcsncmp): Consider REPLACE_WCSNCMP. * lib/wcsncmp-impl.h (wcsncmp): Don't assume that the two wide characters are in the range 0..INT_MAX. * m4/wcsncmp.m4 (gl_FUNC_WCSNCMP): Test whether wcsncmp works for all wide characters. Set REPLACE_WCSNCMP. * m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSNCMP. * modules/wchar (Makefile.am): Substitute REPLACE_WCSNCMP. * modules/wcsncmp (Status, Notice): Un-obsolete this module. (configure.ac): Consider REPLACE_WCSNCMP. * doc/posix-functions/wcsncmp.texi: Mention the two bugs.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a88dfc1d81..46cfb56ea2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2023-04-19 Bruno Haible <bruno@clisp.org>
+
+ wcsncmp: Work around two ISO C compliance bugs on several platforms.
+ * lib/wchar.in.h (wcsncmp): Consider REPLACE_WCSNCMP.
+ * lib/wcsncmp-impl.h (wcsncmp): Don't assume that the two wide
+ characters are in the range 0..INT_MAX.
+ * m4/wcsncmp.m4 (gl_FUNC_WCSNCMP): Test whether wcsncmp works for all
+ wide characters. Set REPLACE_WCSNCMP.
+ * m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSNCMP.
+ * modules/wchar (Makefile.am): Substitute REPLACE_WCSNCMP.
+ * modules/wcsncmp (Status, Notice): Un-obsolete this module.
+ (configure.ac): Consider REPLACE_WCSNCMP.
+ * doc/posix-functions/wcsncmp.texi: Mention the two bugs.
+
2023-04-18 Bruno Haible <bruno@clisp.org>
wcscmp: Add tests.