summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-30 23:12:50 +0200
committerBruno Haible <bruno@clisp.org>2023-03-30 23:12:50 +0200
commit63861afac8004becc3907993cd16b59a5bca5195 (patch)
tree6247e3ab6379e50c0ab1aa83e8aae1d22c0dd5b6 /ChangeLog
parent1ab07af585358746e7fcc0176ab1716db31ca902 (diff)
downloadgnulib-63861afac8004becc3907993cd16b59a5bca5195.tar.gz
mbsrtowcs: Fix behaviour in the C locale.
* m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): Invoke gl_MBRTOWC_C_LOCALE. If mbrtowc is buggy in the C locale, override also mbsrtowcs. * modules/mbsrtowcs (Files): Add m4/mbrtowc.m4. * tests/test-mbsrtowcs.c (main): Add a test of the C locale, based on tests/test-mbrtowc.c. * tests/test-mbsrtowcs5.sh: New file, based on tests/test-mbrtowc5.sh. * modules/mbsrtowcs-tests (Files): Add it. (Makefile.am): Test it. * doc/posix-functions/mbsrtowcs.texi: Mention the C locale behaviour bug.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fba5f444f6..2fe1679061 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
2023-03-30 Bruno Haible <bruno@clisp.org>
+ mbsrtowcs: Fix behaviour in the C locale.
+ * m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): Invoke gl_MBRTOWC_C_LOCALE. If
+ mbrtowc is buggy in the C locale, override also mbsrtowcs.
+ * modules/mbsrtowcs (Files): Add m4/mbrtowc.m4.
+ * tests/test-mbsrtowcs.c (main): Add a test of the C locale, based on
+ tests/test-mbrtowc.c.
+ * tests/test-mbsrtowcs5.sh: New file, based on tests/test-mbrtowc5.sh.
+ * modules/mbsrtowcs-tests (Files): Add it.
+ (Makefile.am): Test it.
+ * doc/posix-functions/mbsrtowcs.texi: Mention the C locale behaviour
+ bug.
+
+2023-03-30 Bruno Haible <bruno@clisp.org>
+
mbrlen: Add tests.
* tests/test-mbrlen1.sh: New file, based on tests/test-mbrtowc1.sh.
* tests/test-mbrlen2.sh: New file, based on tests/test-mbrtowc2.sh.