lkml.org 
[lkml]   [1996]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Long-standing bugs and typos
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.
>
>


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.034 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site