From 7b8598ab5fe13061248c60998d84c74f36c388bc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 19 Jul 2024 16:51:01 +0200 Subject: [PATCH] doc: Mention a bug in NetBSD's *gettext functions. * doc/glibc-functions/gettext.texi: Mention buggy handling of empty LANGUAGE environment variable. * doc/glibc-functions/dgettext.texi: Likewise. * doc/glibc-functions/dcgettext.texi: Likewise. * doc/glibc-functions/ngettext.texi: Likewise. * doc/glibc-functions/dngettext.texi: Likewise. * doc/glibc-functions/dcngettext.texi: Likewise. --- ChangeLog | 11 +++++++++++ doc/glibc-functions/dcgettext.texi | 5 +++++ doc/glibc-functions/dcngettext.texi | 5 +++++ doc/glibc-functions/dgettext.texi | 5 +++++ doc/glibc-functions/dngettext.texi | 5 +++++ doc/glibc-functions/gettext.texi | 5 +++++ doc/glibc-functions/ngettext.texi | 5 +++++ 7 files changed, 41 insertions(+) diff --git a/ChangeLog b/ChangeLog index 31ed29ac61..32e91e8d3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2024-07-19 Bruno Haible + + doc: Mention a bug in NetBSD's *gettext functions. + * doc/glibc-functions/gettext.texi: Mention buggy handling of empty + LANGUAGE environment variable. + * doc/glibc-functions/dgettext.texi: Likewise. + * doc/glibc-functions/dcgettext.texi: Likewise. + * doc/glibc-functions/ngettext.texi: Likewise. + * doc/glibc-functions/dngettext.texi: Likewise. + * doc/glibc-functions/dcngettext.texi: Likewise. + 2024-07-19 Bruno Haible xstrtol: Improve documentation. diff --git a/doc/glibc-functions/dcgettext.texi b/doc/glibc-functions/dcgettext.texi index f6e76e963c..9fa436b220 100644 --- a/doc/glibc-functions/dcgettext.texi +++ b/doc/glibc-functions/dcgettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize diff --git a/doc/glibc-functions/dcngettext.texi b/doc/glibc-functions/dcngettext.texi index 32bb3f8666..24b420c867 100644 --- a/doc/glibc-functions/dcngettext.texi +++ b/doc/glibc-functions/dcngettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize diff --git a/doc/glibc-functions/dgettext.texi b/doc/glibc-functions/dgettext.texi index b7cbbb0bd9..5d06c8fc80 100644 --- a/doc/glibc-functions/dgettext.texi +++ b/doc/glibc-functions/dgettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize diff --git a/doc/glibc-functions/dngettext.texi b/doc/glibc-functions/dngettext.texi index db9a4389c9..a8acedf55d 100644 --- a/doc/glibc-functions/dngettext.texi +++ b/doc/glibc-functions/dngettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize diff --git a/doc/glibc-functions/gettext.texi b/doc/glibc-functions/gettext.texi index ec9a81f341..8c11136b42 100644 --- a/doc/glibc-functions/gettext.texi +++ b/doc/glibc-functions/gettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize diff --git a/doc/glibc-functions/ngettext.texi b/doc/glibc-functions/ngettext.texi index 13bb1f8dac..8aa5869597 100644 --- a/doc/glibc-functions/ngettext.texi +++ b/doc/glibc-functions/ngettext.texi @@ -31,4 +31,9 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: macOS 14, FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0. +@item +This function does not treat a @code{LANGUAGE} environment variable +with an empty value like an unset @code{LANGUAGE} environment variable +on some platforms: +NetBSD 10.0. @end itemize -- 2.39.5