Browse Source

Merge branch 'PHP-5.6'

* PHP-5.6:
  fix handling VAR vs VAR= in putenv
pull/1293/head
Anatol Belski 11 years ago
parent
commit
360d8fd712
  1. 2
      ext/standard/basic_functions.c

2
ext/standard/basic_functions.c

@ -4144,7 +4144,7 @@ PHP_FUNCTION(putenv)
Obviously the CRT version will be useful more often. But
generally, doing both brings us on the safe track at least
in NTS build. */
&& _putenv(pe.putenv_string) == 0
&& _putenv_s(pe.key, value ? value : "") == 0
# endif
) { /* success */
# endif

Loading…
Cancel
Save