-
Notifications
You must be signed in to change notification settings - Fork 35
Use GetEnvironmentVariableA() instead of _dupenv_s() #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GetEnvironmentVariableA() instead of _dupenv_s() #266
Conversation
We will need universal getenv, and this solution will not allow us to retrieve env variable. Please rewrite it to by able to return value of env variable to the caller. |
Actually, I agree with this. The util_env_var_has_str() could rely on the function that returns the value of env. |
11a7590
to
8d88ea9
Compare
a672d80
to
f2e49c4
Compare
f2e49c4
to
1d11afa
Compare
1d11afa
to
96c8d16
Compare
96c8d16
to
d72593e
Compare
Add util_env_var() and util_env_var_has_str() to utils_common.h. Use GetEnvironmentVariableA() instead of _dupenv_s(). Signed-off-by: Lukasz Dorau <[email protected]>
d72593e
to
f83423b
Compare
No description provided.