diff options
author | ache <ache@FreeBSD.org> | 2014-01-28 13:29:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2014-01-28 13:29:54 +0000 |
commit | 1626ab813a29f8b30941a7b807d6da5e3bd395d5 (patch) | |
tree | 8c6a003f373aabc140a3d2b62d8b330c4aa809dc /share/mk | |
parent | 782dc633da2fa3336558b8b143198f7f95bfab13 (diff) | |
download | FreeBSD-src-1626ab813a29f8b30941a7b807d6da5e3bd395d5.zip FreeBSD-src-1626ab813a29f8b30941a7b807d6da5e3bd395d5.tar.gz |
MFC: r261146
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.
Diffstat (limited to 'share/mk')
0 files changed, 0 insertions, 0 deletions