diff options
author | brian <brian@FreeBSD.org> | 2000-04-05 01:59:36 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-04-05 01:59:36 +0000 |
commit | 85b9c1f90b38b35ecf1d4c4e9a22bf122c2cef1c (patch) | |
tree | 30d5a56f301878bd9c061838c0bf405cddbbe665 /lib | |
parent | a00d5b661c9af018104cb3aab9f227dce8bbccee (diff) | |
download | FreeBSD-src-85b9c1f90b38b35ecf1d4c4e9a22bf122c2cef1c.zip FreeBSD-src-85b9c1f90b38b35ecf1d4c4e9a22bf122c2cef1c.tar.gz |
Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time. This is probably actually a bug
in mktime().
PR: 10963
If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour. This assumes that all DSTs are
multiples of 1 hour.
PR: 6223, 17750
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions