Subject: Re: Wrong Time Zone (Solaris) (Still)

From: [email-masked]
Date: Thu, 25 Apr 1996 12:10:31 -0700

Well, I am still having the same problem. (Even with that
script that I wish I had a few months ago).

  RATS!

I still think I need to do a recompile, but the FAQ is unclear
on how to do that.  Can anyone make sense of the FAQ for this
particular instance?

>>Ericw

---

From: [email-masked] (Koos van den Hout _U nix and we all_)
Date: Thu, 25 Apr 1996 22:16:16 +0200 (MET DST)

For starters : since I was recovering from an illness, I got some time to
work on the FAQ. This is one of the issues I try to address in it. Other
changes which have been waiting longer have been added too. Including the
format of the 'times' parameter.

This whole timezone stuff is still very unclear to me, so if anybody has
the correct answer for this, it is very welcome.

I also expect other operating systems with zoneinfo usage in their libc to
have the same problem.

> on how to do that.  Can anyone make sense of the FAQ for this

As noted before, Solaris should be able to handle programs that overwrite
their arguments without losing it's TZ variable.

So the bit about not overwriting the argument list is not what is causing
the troubles with the timezone.

                                             Grtx. KH

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  [email-masked] (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  [email-masked] (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  Quando Omni Flunkis Moritati (If all else fails - play dead)     KH106-RIPE

---

From: Jim Simmons <[email-masked]>
Date: Fri, 26 Apr 1996 07:51:16 -0400 (EDT)

Here's what I do under Solaris 2.4 to get things TIMEZONE's to work.
Note that you'll have to replace US/Eastern with your timezone.

Let me know if this fails to work & I'll send you my complete notes.
I may have created a device or copied a library that has some effect.
Start in ~ftp, then do:

	mkdir usr
        cd usr
        mkdir -p share/lib/zoneinfo/US
        cp /usr/share/lib/zoneinfo/US/Eastern share/lib/zoneinfo/US
        cd ..
        cp /etc/TIMEZONE etc

Hope this helps...

Jim