Focus on Sun
Re: Solaris 2.7 Daylight saving time fix Jan 31 2007 03:12AM
Jonathan Leffler (jleffler us ibm com) (1 replies)
Re: Solaris 2.7 Daylight saving time fix Jan 31 2007 04:37PM
Casper Dik Sun COM

>The specification that I can find (SUS3 at Open Group) leaves it
>completely unspecified what rules might apply to the switch between winter
>and summer (or standard and daylight saving) times. It shows how to set
>the rule by including the information in the TZ variable, but it does not
>state what the rule is in the absence of a specific setting.

I misremembered this. But remember that in the old zoneinfo files
GMT+/-xx was defined backward and using such timezones would result
in non-POSIX compliant timestamps. (GMT+5 was interpreted as POSIX GMT-5
and vice versa)

It appears we stopped shipping those in Solaris 2.4 so I guess it's about time
that we removed the hardcoded defaults from libc and rely on the rule
files from now on.

(And make it so that changes to the rule files do not require a reboot)

Casper

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus