]> Savannah Git Hosting - gnulib.git/commit
nstrftime: don’t assume <locale.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2024 15:27:55 +0000 (08:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2024 15:28:51 +0000 (08:28 -0700)
commit81b9310c9ec55de7d7e52c5d6fd0cff98bac2e28
treeb87ee30f0fab54380227abd161378f89813a6eda
parentfe654687cf76a3b5341e0082806a6ba27d77137e
nstrftime: don’t assume <locale.h>

* lib/strftime.c: Include <locale.h> only if needed, since Emacs
attempts to be portable to platforms lacking <locale.h> so it
avoids localename-unsafe-limited and defines
REQUIRE_GNUISH_STRFTIME_AM_PM to false.
ChangeLog
lib/strftime.c