From: Jim Meyering Date: Sat, 15 Jan 2005 17:19:47 +0000 (+0000) Subject: (isaac_seed) [HAVE_GETHRTIME]: #if-0 this block, X-Git-Tag: CPPI-1_12~1598 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d003dd014a69442ddbf75e0c9a1e536f139cd00;p=thirdparty%2Fcoreutils.git (isaac_seed) [HAVE_GETHRTIME]: #if-0 this block, because just calling gethrtime evokes an `illegal instruction' failure when compiled with Sun's c89 on Solaris 8 and 9. --- diff --git a/src/shred.c b/src/shred.c index 2e45ff256c..b84a75f127 100644 --- a/src/shred.c +++ b/src/shred.c @@ -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;