From owner-freebsd-doc@FreeBSD.ORG Sat Feb 11 12:40:20 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 925ED16A420 for ; Sat, 11 Feb 2006 12:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C00243D79 for ; Sat, 11 Feb 2006 12:40:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1BCeBVx078658 for ; Sat, 11 Feb 2006 12:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1BCeBiM078657; Sat, 11 Feb 2006 12:40:11 GMT (envelope-from gnats) Date: Sat, 11 Feb 2006 12:40:11 GMT Message-Id: <200602111240.k1BCeBiM078657@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Andreas Kohn Cc: 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 Reply-To: Andreas Kohn List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 12:40:20 -0000 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: -------------------- Index: gettimeofday.2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 { --------------------