]> Savannah Git Hosting - gnulib.git/commit
mktime: fix timegm bug that set tmp->tm_isdst
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Oct 2024 02:01:30 +0000 (19:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Oct 2024 04:14:58 +0000 (21:14 -0700)
commit64a179b28743a0c87f71fe15162cad6ab5d6ca9c
treecaebdeb8f21d22272ed7d18fad739fa02c169e49
parentbcf84e57c34e347ad10c7fe087132c52c5c31060
mktime: fix timegm bug that set tmp->tm_isdst

* lib/timegm.c (__timegm64): Omit now-unnecessary initialization
of tm_isdst.  Anyway, the initialization was always wrong, since
timegm should not modify *TMP when it fails.
ChangeLog
lib/timegm.c