diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-11 09:43:15 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-02-11 11:47:29 +0100 |
commit | 7b464ce6f3feb94dc5b897e4f8792a39e07710b6 (patch) | |
tree | f026459593d58bc7894a7a333d5a90ff914b0787 /ext/pcre/php_pcre.c | |
parent | f649adedfe3f0797cd0d6248e1b01c65b326f443 (diff) | |
download | php-git-7b464ce6f3feb94dc5b897e4f8792a39e07710b6.tar.gz |
Fix #79254: getenv() w/o arguments not showing changes
To be able to see changes done only with `SetEnvironmentVariable()`, we
have to use `GetEnvironmentStrings()` instead of `environ`, because the
latter sees only changes done with `putenv()`.
For best backward compatibility we're using `GetEnvironmentStringsA()`;
switching to the wide string version likely makes sense for master,
though.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions