Re: texinfo-7.2.90 on OpenBSD

Bruno Haible via Bug reports for the GNU Texinfo documentation system <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Organization GNU
Message-ID <1824192.FcSA1j6UNx@nimes>
Eli Zaretskii wrote on 2026-01-13:
> And could you please explain why this "must" is true:
> 
> > The reason why it does not work is that this program is not following
> > the documented requirement from
> > https://www.gnu.org/software/gettext/manual/html_node/C.html :
> >   "Programmer must call setlocale (LC_ALL, "")"
> 
> What's wrong with calling setlocale with second argument other than
> the empty string?

This way of doing things works only on some platforms, not on all platforms.
For the (complicated) reasons, see the comment re HAVE_LOCALE_NULL in
gnulib/lib/localename-unsafe.c.

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.