Hello,
AFIAK, this was needed because of a bug. I suggest you check it out in the
bug DB.
Derick
On Tue, 17 Apr 2001, James L. Pine wrote:
ok, this is a little more bizarre than I thought it was.
apparently, tzset is called in mktime or when putenv('TZ=foo') are
called. so this works,
ok, this is a little more bizarre than I thought it was.
apparently, tzset is called in mktime or when putenv('TZ=foo') are
called. so this works, and putenv'ing TZ isn't thread safe already, but
should the mktime tzset call be taken out? and maybe some thread safe
method of setting a timezone
James L. Pine ([EMAIL PROTECTED]) wrote:
I'm running php as an apache 1.x module, so I just hacked in a userspace
tzset(TZ) function, but this would be bad for systems that need to play
nicely with threads.
I'm a little bit baffled about why you would want to change the time
zone while a