Re: Long-standing bugs and typos

Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Mon, 11 Mar 1996 08:39:19 +0100


On 8 Mar 96 at 0:29, Daniel Deckers wrote:

> 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;
> };
>

If you watched the patches carefully, it was already in once... (near
1.3.59?)

> 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.
>
>