The following reply was made to PR user/6415; it has been noted by GNATS.

From: "Todd C. Miller" <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: user/6415: ksh PS1 not noticing TZ/timezone changes
Date: Tue, 03 Aug 2010 16:21:44 -0400

 The problem is that changes to exported variables such as TZ only
 have an effect on child processes.  They do not affect the shell's
 working environment (in other words, the environ pointer).
 
 Changing this would involve marking TZ as "special" and doing a
 setenv() followed by a call to tzset() when TZ is changed.  This
 appears to be safe but nothing else in ksh modifies the running
 process's environment.
 
  - todd

Reply via email to