1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/usr.sbin/cron
Andrey A. Chernov bc36ff9bc7 Bad timespec_subtract() calculations produce negative tv_nsec on i386
which cause EINVAL returned from nanosleep() which cause loop in
cron_sleep() and making all cron jobs to start about 30 seconds earlier
(which cause f.e. logfiles rotation by newsyslog delayed by 1 hour).

Use simple and proved calculations from kernel's timespecsub() instead.

MFC after:      3 days
2014-01-25 02:16:09 +00:00
..
cron Bad timespec_subtract() calculations produce negative tv_nsec on i386 2014-01-25 02:16:09 +00:00
crontab Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
doc
lib Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
Makefile
Makefile.inc