Re: Solaris 2.7 Daylight saving time fix.
- From: Casper.***@xxxxxxx
- Date: Mon, 29 Jan 2007 17:43:08 +0100
The POSIX standard *requires* that the ?STx?DT format precludesthe use of zone files.
Any OS which uses the zoneinfo files is not compliant when the $TZvariable can be parsed under the POSIX rules.
Okay, well the NIH zdump (and, as it happens, the Sol 10 zdump.c I got to
compile on Sol 2.7), "trussed" shows:
open("/usr/share/lib/zoneinfo/GMT", O_RDONLY) = 3
open("/usr/share/lib/zoneinfo/CST6CDT", O_RDONLY) = 3
So I guess the reason it 'works' is its not properly POSIX ... so the
question (to my mind) remains - where does Sol's POSIX-valid zdump get its
TZ info? From a library file? That would be the one we need to update.
If Solaris zdump does not dump the zone file, then that's somewhat
strange; these POSIX rules are hardcoded in the library
file.
What you really should do is switch to the appriate Olson timezone.
(US/...)
Casper
- References:
- Re: Solaris 2.7 Daylight saving time fix.
- From: Casper . ***
- Re: Solaris 2.7 Daylight saving time fix.
- From: Andy_Bach
- Re: Solaris 2.7 Daylight saving time fix.
- Prev by Date: RES: Re: Solaris 2.7 Daylight saving time fix.
- Next by Date: Re: Solaris 2.7 Daylight saving time fix.
- Previous by thread: Re: Solaris 2.7 Daylight saving time fix.
- Next by thread: RE: Solaris 2.7 Daylight saving time fix.
- Index(es):