Date: Tue, 9 Apr 2002 23:40:05 -0700 From: Sean Chittenden <sean@chittenden.org> To: current@FreeBSD.ORG Subject: mktime() doesn't fix deadzones... Message-ID: <20020409234005.V66679@ninja1.internal>
next in thread | raw e-mail | index | archive | help
--N8ia4yKhAKKETby7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I haven't read POSIX yet, but mktime() fails on the boundary condition blackholes when timezones change. I just filed a patch for the PostgreSQL port so that it deals with this problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D36954 I believe that Linux and SunOS handle this automatically and am wondering if FreeBSD should too (this was the 1st time the PostgreSQL guys had heard of this in over 6 years). I'm not a daylight savings expert, but am wondering what other people think. Seems like a good idea(TM) to me. For example (PST/PDT assumed): 2002-4-7 2:0:0.0 should be: 2002-4-7 3:0:0.0 Anyone object or have any thoughts? -sc --=20 Sean Chittenden --N8ia4yKhAKKETby7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden <sean@chittenden.org> iEYEARECAAYFAjyz3kUACgkQn09c7x7d+q2fUwCgoaLlCbWI+BpIbmelpAgHSFzk jikAn1wwNHembDCAtPHGcOnW6RMEux/x =75Zz -----END PGP SIGNATURE----- --N8ia4yKhAKKETby7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020409234005.V66679>