Contents of /trunk/coreutils/patches-5.3.0/coreutils-5.3.0-glibc22.patch
Parent Directory | Revision Log
Revision 44 -
(show annotations)
(download)
Thu Oct 13 21:17:16 2005 UTC (18 years, 11 months ago) by niro
File size: 407 byte(s)
Thu Oct 13 21:17:16 2005 UTC (18 years, 11 months ago) by niro
File size: 407 byte(s)
patch set for coretutils-5.3.0
1 | CVS shred.c has been rewritten so this code is irrelevant |
2 | |
3 | --- fileutils-4.0u/src/shred.c |
4 | +++ fileutils-4.0u/src/shred.c |
5 | @@ -853,7 +853,7 @@ |
6 | hrtime_t t = gethrtime (); |
7 | ISAAC_SEED (s, t); |
8 | #else |
9 | -# if HAVE_CLOCK_GETTIME /* POSIX ns-resolution */ |
10 | +# if HAVE_CLOCK_GETTIME && defined(CLOCK_REALTIME) /* POSIX ns-resolution */ |
11 | struct timespec t; |
12 | clock_gettime (CLOCK_REALTIME, &t); |
13 | # else |