|
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.net
diff --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-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 23:00:02 2025 UTC |