diff --git a/lib/ChangeLog b/lib/ChangeLog index 88301bb49..014c843cc 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2003-05-07 Paul Eggert + + * xnanosleep.c (timespec_subtract): Don't modify the 2nd arg. + Work even if X-Y overflows when subtracting. Make explicit the + assumption that tv_nsec must be in range. + (clock_get_realtime): Remove. All callers changed to invoke gettime, + for simplicity. + (xnanosleep): Check for gettime failure every time. + 2003-05-06 Jim Meyering * xnanosleep.c (clock_get_realtime): Use gettime.c's gettime function,