From owner-freebsd-amd64@FreeBSD.ORG Sun Jan 13 05:50:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEDEB16A468 for ; Sun, 13 Jan 2008 05:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE61A13C448 for ; Sun, 13 Jan 2008 05:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0D5o4Bm084667 for ; Sun, 13 Jan 2008 05:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0D5o4CL084666; Sun, 13 Jan 2008 05:50:04 GMT (envelope-from gnats) Date: Sun, 13 Jan 2008 05:50:04 GMT Message-Id: <200801130550.m0D5o4CL084666@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Peter Jeremy Cc: Subject: Re: amd64/119591: [amd64] [patch] time_t on 64-bit architecture X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Jeremy List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 05:50:04 -0000 The following reply was made to PR amd64/119591; it has been noted by GNATS. From: Peter Jeremy To: IKEGAMI Akiko Cc: bug-followup@freebsd.org Subject: Re: amd64/119591: [amd64] [patch] time_t on 64-bit architecture Date: Sun, 13 Jan 2008 07:50:31 +1100 --VuQYccsttdhdIfIP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Whilst I agree that the existing LEAPYEAR macro can only handle dates between 1901 and 2099, this macro is only used to convert timestamps to/from the RTC - and currently that code will only support dates between 1970 and 2069. There is provision to separately store the century in the RTC but this code is not currently active. Note that the code to write the time back to the RTC currently steps year-by-year and is therefore also needs a rethink before the range is massively increased. --=20 Peter Jeremy --VuQYccsttdhdIfIP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHiSgX/opHv/APuIcRAvlSAJ0ToZ3alNx0ZQToWtqr1w3NszmvuwCferLU g8VCxtobSdYLszr3QO7KM9Y= =pnIr -----END PGP SIGNATURE----- --VuQYccsttdhdIfIP--