summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/funcs.h
AgeCommit message (Collapse)Author
2001-02-20Turn get_gmtoff into a macro for OSes with tm_gmtoff (like OpenBSD).Todd C. Miller
Save the GMT offset in a global so cron_sleep can use it. This means the offset can only change in set_time() which is really what we want.
2001-02-19Normalize the time in minutes to GMT so we can really catch DST changesTodd C. Miller
(since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it).
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
I also fixed the signal handlers while I was at it.