|
From: | John W. Eaton |
Subject: | Re: [Win32] putenv modifications not inherited by child processed (Was: Heap corruption in putenv) |
Date: | Tue, 19 Feb 2013 17:04:39 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
On 02/18/2013 10:40 PM, Paul Eggert wrote:
Thanks, how about this change instead? It's a bit more conservative about always using _putenv and setting errno. And it uses WIN32_LEAN_AND_MEAN.
I need the attached additional changes to provide declarations for putenv_result and putenv_error in the internal _unsetenv function and also to use _putenv in the normal case when the argument string to putenv contains "VAR=VAL".
Otherwise it seems OK to me. Thanks for looking into this problem. jwe
putenv-diff.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |