From: Zeev Suraski Date: Thu, 24 Jul 2003 08:04:20 +0000 (+0000) Subject: MFH fix for bug #19613 X-Git-Tag: php-4.3.3RC2~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=957fcfac4b439fe05ffd399a89c09281242a94d0;p=php MFH fix for bug #19613 --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index ba56dce306..ac81fc84ce 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -937,6 +937,8 @@ static void php_putenv_destructor(putenv_entry *pe) } else { # if HAVE_UNSETENV unsetenv(pe->key); +# elif defined(PHP_WIN32) + SetEnvironmentVariable(pe->key, NULL); # else char **env;