diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-10-10 11:51:50 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-10-10 11:51:50 -0700 |
commit | 46fa1da62d2a57834ad129a74d5468ca600d2d0c (patch) | |
tree | a35423c5a1d45197656ecf9f74e5b1239100d094 | |
parent | 717d73bba4449b8436bc094c4614326b48d2b399 (diff) | |
download | txr-46fa1da62d2a57834ad129a74d5468ca600d2d0c.tar.gz txr-46fa1da62d2a57834ad129a74d5468ca600d2d0c.tar.bz2 txr-46fa1da62d2a57834ad129a74d5468ca600d2d0c.zip |
time: Solaris fix: don't assign to env_list.
* time.c (env_list): The env_list variable is static in
lib.c. The idea here was that since we modified the
environment with setenv, we should invalidate the env hash
which stores a cached copy of it. However, the setenv library
function that is exposed to programs neglects to do this,
which is a much larger issue. Let's delete the assignment to
env_list and deal with the whole issue later.
-rw-r--r-- | time.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -377,7 +377,6 @@ static time_t timegm_hack(struct tm *tm) tzset(); #endif - env_list = nil; return ret; } #endif |