Re: Long-standing bugs and typos

Daniel Deckers (fh5y076@public.uni-hamburg.de)
Fri, 8 Mar 1996 00:29:45 +0100 (MET)


Another possible typo may be found in <linux/time.h>, which recently (late
1.3.5x I think) had a timespec struct added to it that looks like this:

struct timespec {
long tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};

I suspect these are typos (from timeval?) for ts_sec/ts_nsec respectively?

libc-5.2.18 has the following (conflicting) definition of timespec in its
include/pthread/mit/sys/timers.h:

struct timespec {
time_t ts_sec;
long ts_nsec;
};

I suspect one of these ought to be changed...
Dan

-- 
I may also be reached as dd@orplid.shnet.org, but please do not send large
messages to that address, thank you.