]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
doc: Mention an open glibc bug.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Mar 2021 12:47:44 +0000 (13:47 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Mar 2021 12:47:44 +0000 (13:47 +0100)
* doc/posix-functions/mbrtowc.texi: Mention the possible out-of-range
wchar_t values returned by this function on glibc.
* doc/posix-functions/mbtowc.texi: Likewise.

ChangeLog
doc/posix-functions/mbrtowc.texi
doc/posix-functions/mbtowc.texi

index 54287780861e13b6442304d26bfc04b55e5c782b..d0cbc602374bd411105b0d05c0b1362f9b26e618 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-03-22  Bruno Haible  <bruno@clisp.org>
+
+       doc: Mention an open glibc bug.
+       * doc/posix-functions/mbrtowc.texi: Mention the possible out-of-range
+       wchar_t values returned by this function on glibc.
+       * doc/posix-functions/mbtowc.texi: Likewise.
+
 2021-03-22  Benno Schulenberg  <bensberg@telfort.nl>  (tiny change)
 
        mbrtowc: Remove a redundant condition.
index 897e4da942cbb9b01f9a8bc741706a21588c8934..291207ec322be4761ba83c693bc1093f9625d462 100644 (file)
@@ -44,6 +44,12 @@ Solaris 9.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
+In UTF-8 locales, this function may return wide characters up to 0x7FFFFFFF
+(that is, beyond 0x0010FFFF) on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=2373
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=26034
+glibc 2.33.
+@item
 On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and
 therefore cannot accommodate all Unicode characters.
 However, the ISO C11 function @code{mbrtoc32}, provided by Gnulib module
index e7e537690b71e65d3289d08d5458ff3fb53eabde..855f825d5d93c04e85c900f86d4a873a05780023 100644 (file)
@@ -16,6 +16,12 @@ Android 4.4.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
+In UTF-8 locales, this function may return wide characters up to 0x7FFFFFFF
+(that is, beyond 0x0010FFFF) on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=2373
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=26034
+glibc 2.33.
+@item
 This function accumulates hidden state on some platforms:
 glibc 2.8 (see @url{https://sourceware.org/bugzilla/show_bug.cgi?id=9674}).
 @item