php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch bug69033_2.patch for Scripting Engine problem Bug #69033Patch version 2015-02-12 11:19 UTC Return to Bug #69033 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: ab@php.netdiff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index dad815b..d056cf8 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -3433,6 +3433,9 @@ static void php_putenv_destructor(putenv_entry *pe) /* {{{ */ unsetenv(pe->key); # elif defined(PHP_WIN32) SetEnvironmentVariable(pe->key, NULL); +# ifndef ZTS + _putenv_s(pe->key, ""); +# endif # else char **env; |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 17:01:32 2024 UTC |