From owner-freebsd-doc@FreeBSD.ORG Mon Feb 13 18:34:24 2006 Return-Path: X-Original-To: freebsd-doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9444716A420; Mon, 13 Feb 2006 18:34:24 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3165D43D49; Mon, 13 Feb 2006 18:34:23 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id k1DJIAv8017347 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 13 Feb 2006 14:18:11 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 13 Feb 2006 13:34:19 -0500 From: Tom Rhodes To: Andreas Kohn Message-Id: <20060213133419.1fb3fc65.trhodes@FreeBSD.org> In-Reply-To: <200602111240.k1BCeBiM078657@freefall.freebsd.org> References: <200602111240.k1BCeBiM078657@freefall.freebsd.org> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jcamou@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: docs/87681: [patch] correct gettimeofday(2) manpage, document one known bug X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 18:34:24 -0000 On Sat, 11 Feb 2006 12:40:11 GMT Andreas Kohn wrote: > The following reply was made to PR docs/87681; it has been noted by GNATS. > > From: Andreas Kohn > 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