diff options
| author | Zeev Suraski <zeev@php.net> | 2003-07-24 08:04:20 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-07-24 08:04:20 +0000 |
| commit | 957fcfac4b439fe05ffd399a89c09281242a94d0 (patch) | |
| tree | 386e541a2804b4c09b7f6367ee326bb5075189d2 | |
| parent | 77ec2633291ed84cefbdadd5480917056ec5219b (diff) | |
| download | php-git-957fcfac4b439fe05ffd399a89c09281242a94d0.tar.gz | |
MFH fix for bug #19613
| -rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
