Searched hist:25656 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/sys/kern/ | ||
H A D | kern_time.c | diff 25656 Sat May 10 10:00:03 MDT 1997 peter Fixes from Bruce: Serious: - An important timevalfix() in settime[ofday]() was lost. Not so serious: - There was a race initializing `delta' in the check for setting the time backwards. - The `#ifdef notyet' check for setting the time more than a day forwards was back to front. [[I deleted the code, it's useless because of iteration - Peter]] - The timespec was not checked for validity in clock_settime(). - The timespec was not fully checked for validity in nanotime(). The check in itimerfix() is too late, since the conversion from a timespec to a timeval may overflow. - A garbage timeval was checked in settimeofday() for the (uap->tv == NULL && uap->tzp != NULL) case. I added the broken check this some time ago. Cosmetic: - The "inadvertantly (sic) sleeping forever" test always failed. hzto() always returns >= 1. - The style wasn't very KNFish. (I only changed new code.) Submitted by: bde |
Completed in 55 milliseconds