]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Thu, 8 May 2003 09:26:42 +0000 (09:26 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 8 May 2003 09:26:42 +0000 (09:26 +0000)
lib/ChangeLog

index 88301bb499ed7c994ae63977c4abe2e2e10823c1..014c843cc3ba54499a04fdefa267bc41fceb084a 100644 (file)
@@ -1,3 +1,12 @@
+2003-05-07  Paul Eggert  <eggert@twinsun.com>
+
+       * 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  <jim@meyering.net>
 
        * xnanosleep.c (clock_get_realtime): Use gettime.c's gettime function,