summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4afba58a3c..bc7372479c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
2023-03-30 Bruno Haible <bruno@clisp.org>
+ mbstowcs: New module.
+ * lib/stdlib.in.h (mbstowcs): New declaration.
+ * lib/mbstowcs.c: New file, based on lib/mbstoc32s.c.
+ * m4/mbstowcs.m4: New file.
+ * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether mbstowcs is declared.
+ (gl_STDLIB_H_REQUIRE_DEFAULTS): Initialize GNULIB_MBSTOWCS.
+ (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_MBSTOWCS.
+ * modules/stdlib (Makefile.am): Substitute GNULIB_MBSTOWCS,
+ REPLACE_MBSTOWCS.
+ * modules/mbstowcs: New file.
+ * tests/test-stdlib-c++.cc (mbstowcs): Check signature.
+ * doc/posix-functions/mbstowcs.texi: Mention the C locale behaviour bug
+ and the new module.
+
+2023-03-30 Bruno Haible <bruno@clisp.org>
+
mbsnrtowcs: Fix behaviour in the C locale.
* m4/mbsnrtowcs.m4 (gl_FUNC_MBSNRTOWCS): Invoke gl_MBRTOWC_C_LOCALE. If
mbrtowc is buggy in the C locale, override also mbsnrtowcs.