[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] timegm: ignore incoming tm_isdst
From: |
Bruno Haible |
Subject: |
Re: [PATCH 2/2] timegm: ignore incoming tm_isdst |
Date: |
Fri, 04 Oct 2024 22:42:49 +0200 |
Paul Eggert wrote:
> + AC_CACHE_CHECK([spelling of daylight variable],
> + [gl_cv_var___daylight],
> + [for gl_cv_var___daylight in __daylight daylight _daylight 0; do
On FreeBSD 14, this configure test produces
checking spelling of daylight variable... 0
All existing unit tests succeed. But would it not produce more correct
results in general to set this to 1 instead of 0? That is, if we are
in the mktime()/localtime() pair, if we know nothing about the time zone,
assume that is has DST?
Bruno