Date: Sun, 13 Jan 2008 05:50:04 GMT From: Peter Jeremy <peterjeremy@optushome.com.au> To: freebsd-amd64@FreeBSD.org Subject: Re: amd64/119591: [amd64] [patch] time_t on 64-bit architecture Message-ID: <200801130550.m0D5o4CL084666@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/119591; it has been noted by GNATS. From: Peter Jeremy <peterjeremy@optushome.com.au> To: IKEGAMI Akiko <gami@moonshine.s.notwork.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801130550.m0D5o4CL084666>