1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

parse-datetime no longer depends on nstrftime

I discovered this unnecessary dependency when debugging
GNU Patch.
* lib/parse-datetime.y:
(populate_local_time_zone_table) [!HAVE_STRUCT_TM_TM_ZONE]:
(debug_strfdatetime): Use strftime not nstrftime,
as we don’t need nstrftime’s extensions or bug fixes.
* modules/parse-datetime (Depends-on): Remove nstrftime.
Also remove setenv, unsetenv, timegm, as this module
no longer depends on them directly.
This commit is contained in:
Paul Eggert
2024-09-16 11:12:24 -07:00
parent 3cbc5ea46f
commit 4f1f3d3cbe
3 changed files with 16 additions and 12 deletions

View File

@@ -20,14 +20,10 @@ idx
intprops
inttypes
mktime
nstrftime
setenv
stdckdint
unsetenv
time-h
time_r
time_rz
timegm
configure.ac:
gl_PARSE_DATETIME