bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fileutils 4.1, shred.c - bug???


From: Piotr Sobolewski
Subject: fileutils 4.1, shred.c - bug???
Date: Wed, 07 Nov 2001 09:36:43 +0100

Hi, I just tried to compile fileutils 4.1 but I got an error:
"shred.c:892: `CLOCK_REALTIME' undeclared (first use in this function)"

I tried to change this:

# if HAVE_CLOCK_GETTIME         /* POSIX ns-resolution */
    struct timespec t;
    clock_gettime (CLOCK_REALTIME, &t);
# else
        

to this:

# ifdef CLOCK_REALTIME          /* POSIX ns-resolution */
    struct timespec t;
    clock_gettime (CLOCK_REALTIME, &t);
# else
        
in file "shred.c" and now evrthng seems to work ok. I dont know if this is bug 
or not, I'm not very clever in programming, but anyway I think it may be 
intrstng for you.



sincerely

address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]