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

Re: Solaris 2.7 Daylight saving time fix.

by Andy_Bach :: Rate this Message:

Reply to Author | View in Thread

> You can clone the relevant parts of a working patch for Solaris 8
with a short shell script (worked fine on Solaris 2.6 and Solaris 7).

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

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?

a

Andy Bach
Systems Mangler
Internet: andy_bach@...
VOICE: (608) 261-5738  FAX 264-5932

If  it's not  on  fire  it's  a  software  problem.

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