Paul Eggert wrote:
> Thanks, looks good except that Emacs attempts to be portable to 
> platforms lacking <locale.h>.
It's the first time I hear about such platforms in ca. 20 years.
In Gnulib, we're assuming that <locale.h> exists since 2011:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=80905e10d427a3abdeb61e2677a6cbe0f8ac1aba

Which platform is this?

And why not choose the Gnulib approach, namely to let the 'locale'
module provide the replacement if this header file is missing?

> It's easy for nstrftime to support that, 
> via the attached patch which I installed.

On that platform, the issue will occur in many more places. Dozens
of Gnulib source files use <locale.h>, and several Emacs source files
as well.

Bruno




Reply via email to