HardenedBSD/bin/date
Brian Somers a625bfec63 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
2000-04-05 01:59:36 +00:00
..
date.1
date.c
extern.h
Makefile
netdate.c
vary.c Always give mktime a timeval with tm_isdst set to -1, otherwise 2000-04-05 01:59:36 +00:00
vary.h