]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(isaac_seed) [HAVE_GETHRTIME]: #if-0 this block,
authorJim Meyering <jim@meyering.net>
Sat, 15 Jan 2005 17:19:47 +0000 (17:19 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Jan 2005 17:19:47 +0000 (17:19 +0000)
because just calling gethrtime evokes an `illegal instruction'
failure when compiled with Sun's c89 on Solaris 8 and 9.

src/shred.c

index 2e45ff256c0acf2bee7a1ef8836e69de08f3ed6a..b84a75f12750439ad9c1dd889d6b0352544ee9a8 100644 (file)
@@ -587,7 +587,10 @@ isaac_seed (struct isaac_state *s)
   { gid_t t = getgid ();   ISAAC_SEED (s, t); }
 
   {
-#if HAVE_GETHRTIME
+#if 0 && HAVE_GETHRTIME
+    /* This block if if-0'd out for now because it makes shred
+       fail with an `illegal instruction' when compiled with Sun's
+       c89 on Solaris 8 and 9.  */
     hrtime_t t = gethrtime ();
 #elif HAVE_CLOCK_GETTIME               /* POSIX ns-resolution */
     struct timespec t;