From dc03f62354f93b61e5fa2f78030f5de4372e5d61 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 3 Jul 2023 23:41:32 +0200 Subject: [PATCH] mbrtoc32: Document another glibc bug. * doc/posix-functions/mbrtoc32.texi: Reference the glibc bug in BIG5-HKSCS locales. --- ChangeLog | 6 ++++++ doc/posix-functions/mbrtoc32.texi | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7d44959df2..41745d0848 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-07-03 Bruno Haible + + mbrtoc32: Document another glibc bug. + * doc/posix-functions/mbrtoc32.texi: Reference the glibc bug in + BIG5-HKSCS locales. + 2023-07-03 Paul Eggert mbrtoc32: document (size_t) -3 issue diff --git a/doc/posix-functions/mbrtoc32.texi b/doc/posix-functions/mbrtoc32.texi index 93a7aa64ff..3528114bec 100644 --- a/doc/posix-functions/mbrtoc32.texi +++ b/doc/posix-functions/mbrtoc32.texi @@ -38,6 +38,11 @@ Solaris 11.4, mingw, MSVC 14. Portability problems not fixed by Gnulib: @itemize @item +This function behaves incorrectly when converting precomposed characters +from the BIG5-HKSCS encoding: +@c https://sourceware.org/bugzilla/show_bug.cgi?id=30611 +glibc 2.36. +@item Although ISO C says this function can return @code{(size_t) -3}, no known implementation behaves that way, and if it were to happen it would break common uses. -- 2.39.5