From: Dirk J. <do...@cu...> - 2008-09-08 22:41:51
|
Hello Bernhard et al, nice patch, but the getenv() function only returns a pointer into the environment buffer, not a copy. So the next setenv() call might overwrite the old value of TZ. I've modified your patch to preserve a copy of the old value. (Please note, that I have not tested this modified patch I merely edited it directly.) -- ---> Dirk Jagdmann ----> http://cubic.org/~doj -----> http://llg.cubic.org |