]> Savannah Git Hosting - gnulib.git/commit
c-nstrftime: Fix warning on platforms without strftime_l.
authorBruno Haible <bruno@clisp.org>
Tue, 18 Jun 2024 12:27:18 +0000 (14:27 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 18 Jun 2024 12:59:17 +0000 (14:59 +0200)
commit0e5d4c8bc02ea8615e43cae70a9fc114eabcf778
tree0191d2f9e3824c1ec2289672e936360e24af212d
parent247f06bd6f6a3a637442060d4ad20907778e88cd
c-nstrftime: Fix warning on platforms without strftime_l.

* lib/strftime.c: Add comment regarding HAVE_STRFTIME_L.
(underlying_strftime): Don't define if this function is not used.
Correct indentation. Simplify #if condition.
(__strftime_internal): Disable code that is not used on platforms
without strftime_l.
ChangeLog
lib/strftime.c