From: Paul Eggert Date: Tue, 19 Apr 2016 16:11:34 +0000 (-0700) Subject: btowc: document problems in C locale X-Git-Tag: v1.0~6759 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f3852a93c7c5bde683066f80f29aa70bc08a4d26;p=gnulib.git btowc: document problems in C locale * doc/posix-functions/btowc.texi (btowc): Mention incompatibility with mbrtowc. See: http://bugs.gnu.org/23269#32 --- diff --git a/ChangeLog b/ChangeLog index 3bca61945d..4bccb2fa79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-04-19 Paul Eggert + + btowc: document problems in C locale + * doc/posix-functions/btowc.texi (btowc): Mention incompatibility + with mbrtowc. See: http://bugs.gnu.org/23269#32 + 2016-04-13 Paul Eggert mktime: improve integer overflow checking diff --git a/doc/posix-functions/btowc.texi b/doc/posix-functions/btowc.texi index d09d16f0da..382915aef0 100644 --- a/doc/posix-functions/btowc.texi +++ b/doc/posix-functions/btowc.texi @@ -24,4 +24,8 @@ Portability problems not fixed by Gnulib: @item On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +@item +In the C or POSIX locales, this function is not consistent with +Gnulib's @code{mbrtowc} and can return @code{WEOF}: +glibc 2.23, MirOS BSD #10. @end itemize