UnixOperatingSystem.st
changeset 8601 bf2b973a9a0e
parent 8599 9edfb6a871bf
child 8618 b78c623be1f7
--- a/UnixOperatingSystem.st	Tue Sep 28 20:00:37 2004 +0200
+++ b/UnixOperatingSystem.st	Tue Sep 28 20:29:19 2004 +0200
@@ -8106,10 +8106,6 @@
             micros  = __MKUINT(ts.tv_nsec / 1000);
             goto out;
         } else {
-            if (errno == ENOSYS) {
-               error = @symbol(bad);
-               goto out;
-            }
             /* 
              * clock_gettime is not implemented in the kernel
              * fall through to alternative implementation
@@ -8177,13 +8173,11 @@
             t = ts.tv_sec*1000 + ts.tv_nsec/1000000;
             goto out;
         } else {
-            if (errno != ENOSYS) 
-               goto err;
-           /* 
-            * clock_gettime is not implemented in the kernel
-            * fall through to alternative implementation
-            */
-           has_clock_gettime = 0;
+            /* 
+             * clock_gettime is not implemented in the kernel
+             * fall through to alternative implementation
+             */
+            has_clock_gettime = 0;
         }
     }
 #endif /*  _POSIX_MONOTONIC_CLOCK */
@@ -8191,7 +8185,7 @@
 #if defined(_SC_CLK_TCK)
 /*
  * We prefer times here, since it is monotonic and immune to clock changes
- *  but: it has less precision!
+ * but: it has less precision!
  */
 # include <sys/times.h>
 
@@ -12273,7 +12267,7 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.217 2004-09-27 11:38:15 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.218 2004-09-28 18:29:19 cg Exp $'
 ! !
 
 UnixOperatingSystem initialize!