diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-15 17:19:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-15 17:19:47 +0000 |
commit | 6d003dd014a69442ddbf75e0c9a1e536f139cd00 (patch) | |
tree | 7d2f276c5366c8fa536c318206611c084b8c84a7 /src | |
parent | 6d638576d4cba1dee995aa614a9e6a978f4ae5c1 (diff) | |
download | coreutils-6d003dd014a69442ddbf75e0c9a1e536f139cd00.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/shred.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c index 2e45ff256..b84a75f12 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; |