]> granicus.if.org Git - php/commit
partially fixed bug #66265
authorAnatol Belski <ab@php.net>
Fri, 21 Nov 2014 08:57:12 +0000 (09:57 +0100)
committerAnatol Belski <ab@php.net>
Fri, 21 Nov 2014 08:57:12 +0000 (09:57 +0100)
commit56fac96bec882ac59a7fc298c98407bf4a17629d
treea45f9badfd4cdfbcf32e819a004dcf06adc9b9db
parent502ce90873d1d7ffc0c359b58d7d49691080804e
partially fixed bug #66265

NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS mode as it would change locale across all the threads
and require locking to avoid random fails with concurrent _getenv
calls.
ext/standard/basic_functions.c