amd64/119591: [amd64] [patch] time_t on 64-bit architecture

Peter Jeremy peterjeremy at optushome.com.au
Sat Jan 12 21:50:04 PST 2008


The following reply was made to PR amd64/119591; it has been noted by GNATS.

From: Peter Jeremy <peterjeremy at optushome.com.au>
To: IKEGAMI Akiko <gami at moonshine.s.notwork.org>
Cc: bug-followup at 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--


More information about the freebsd-amd64 mailing list