« Return to Thread: Solaris 2.7 Daylight saving time fix.

Re: Solaris 2.7 Daylight saving time fix.

by Casper.Dik :: Rate this Message:

Reply to Author | View in Thread


>No luck, least-wise not w/ the 'old' CST6CDT formated TZ-style. Even using
>the 2.8 updated zdump/zic.  It appears (from truss) that using these
>formats ignores the zoneinfo files. The CST6CDT zoneinfo file does contain
>the correct DST date (I copied one to a new TZ name and tested that w/ the
>zdumps).  The zdump.c code for sol I can find:
>http://cvs.opensolaris.org/source/xref/loficc/crypto/usr/src/cmd/zdump/zdump.c

Yes, POSIX requires that it ignores the zoneinfo files.

>appears to be a port of the NIH code which dutifully opens the appropriate
>zoneinfo file. I can compile that and it works - even if I use the sol
>zoneinfo files. Hmm, is this only a zdump (pre 10 (at least) anyway)
>problem? That  is, after changing my TIMEZONE to use US/Central is there
>another test to see if solaris will have an issue?


Why can't you just install the zoneinfo files and set the TZ to
America/Whatever?

Casper

 « Return to Thread: Solaris 2.7 Daylight saving time fix.