Date: Mon, 13 Feb 2006 13:34:19 -0500 From: Tom Rhodes <trhodes@FreeBSD.org> To: Andreas Kohn <andreas.kohn@gmail.com> Cc: jcamou@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: docs/87681: [patch] correct gettimeofday(2) manpage, document one known bug Message-ID: <20060213133419.1fb3fc65.trhodes@FreeBSD.org> In-Reply-To: <200602111240.k1BCeBiM078657@freefall.freebsd.org> References: <200602111240.k1BCeBiM078657@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Feb 2006 12:40:11 GMT Andreas Kohn <andreas.kohn@gmail.com> wrote: > The following reply was made to PR docs/87681; it has been noted by GNATS. > > From: Andreas Kohn <andreas.kohn@gmail.com> > To: bug-followup@FreeBSD.org, andreas@syndrom23.de > Cc: > Subject: Re: docs/87681: [patch] correct gettimeofday(2) manpage, document one known bug > Date: Sat, 11 Feb 2006 13:32:08 +0100 > > The bug was fixed, and time_t is now used on all archs but alpha. > The documentation is still incorrect w.r.t. to the types. > > Updated patch: > > RCS file: /storage/freebsd/cvs/src/lib/libc/sys/gettimeofday.2,v > retrieving revision 1.25 > diff -u -r1.25 gettimeofday.2 > --- gettimeofday.2 2 Jul 2004 23:52:13 -0000 1.25 > +++ gettimeofday.2 11 Feb 2006 12:26:57 -0000 > @@ -82,8 +82,8 @@ > .Pp > .Bd -literal > struct timeval { > - long tv_sec; /* seconds since Jan. 1, 1970 */ > - long tv_usec; /* and microseconds */ > + time_t tv_sec; /* seconds since Jan. 1, 1970 */ > + suseconds_t tv_usec; /* and microseconds */ > }; > > struct timezone { Yea, this was a jcamou assignment since it's his (and to some extent brooks) fault the time_t change happened. I've just been waiting for jcamou to send an updated patch for the manual page. Thanks for moving it along! :) -- Tom Rhodes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060213133419.1fb3fc65.trhodes>