summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/future.cpp
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2014-01-25 02:16:09 +0000
committerache <ache@FreeBSD.org>2014-01-25 02:16:09 +0000
commit6c067c7c3d9fcb334fcebc6d3f2e1760fc851f21 (patch)
treebef31efec5573d3961cf61e55bd8100c7d400109 /contrib/libc++/src/future.cpp
parent47bb874dd7e85e87b14129162d6382b344ebdbf8 (diff)
downloadFreeBSD-src-6c067c7c3d9fcb334fcebc6d3f2e1760fc851f21.zip
FreeBSD-src-6c067c7c3d9fcb334fcebc6d3f2e1760fc851f21.tar.gz
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
Diffstat (limited to 'contrib/libc++/src/future.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud