Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/kern
Module Name: src
Committed By: gdamore
Date: Thu Sep 7 04:51:42 UTC 2006
Modified Files:
src/sys/kern: kern_todr.c
Log Message:
Eliminate the 2038 year check, because clock_ymdhms_to_sec already performs
that check. So instead, we test to make sure we have a non-negative second
after the conversion.
While here, we also add a check to round the second counter up when setting
time if we are more than half-way into the second.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/kern/kern_todr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index