From: Bernhard W. <ber...@bw...> - 2008-09-09 11:09:53
|
* Dirk Jagdmann <do...@cu...> [2008-09-08]: > 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.) Hi, ah, yes, you're absolutely right. Sorry for the mistake. Michael, should I come with a fix against current SVN trunk? Bernhard |