Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Feb 11, 2020

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.

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.
@cmb69
Copy link
Member Author

cmb69 commented Feb 11, 2020

Thanks! Applied with 7b464ce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants