]> Savannah Git Hosting - gnulib.git/commit
mktime: don’t consult daylight
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2024 17:40:24 +0000 (10:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2024 17:41:07 +0000 (10:41 -0700)
commit72abb08f4495bf232736f4d13a24bced72a9c327
tree23b06763ce4e6957af61a5ab3cd381d3b13ff130
parentf3d96537413f1fc0913cd290b1eea35386295b1b
mktime: don’t consult daylight

* lib/mktime.c (__mktime_internal): Do not consult __daylight
as it has unreliable contents - among other things, the user
can set it.  It also wasn’t being configured properly for
mingw-w64; this problem was reported by Markus Muetzel in
<https://lists.gnu.org/r/bug-gnulib/2024-11/msg00126.html>.
* m4/mktime.m4 (gl_PREREQ_MKTIME): Do not check for ‘daylight’;
no longer needed.
ChangeLog
lib/mktime.c
m4/mktime.m4