RE: Solaris 2.7 Daylight saving time fix.



Terix seems to be handing out a patch for free:
http://www.terix.com

It looks to me as it doesn't fix Sun's zdump or zic,
but it is in patch format so you can check your showrev -p output.


-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx]
On Behalf Of Andy_Bach@xxxxxxxxxxxxxxxxx
Sent: Monday, January 29, 2007 11:37 AM
To: Casper.***@xxxxxxx
Cc: casper@xxxxxxxxxxxxxxx; daniel.raymer@xxxxxxxxxxxxxx;
focus-sun@xxxxxxxxxxxxxxxxx; listbounce@xxxxxxxxxxxxxxxxx
Subject: Re: Solaris 2.7 Daylight saving time fix.

The POSIX standard *requires* that the ?STx?DT format precludes
the use of zone files.

Any OS which uses the zoneinfo files is not compliant when the $TZ
variable 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.

a

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

Although few may originate a policy, we are all able to judge it.
Pericles of Athens, c.430 B.C.