-
Vladimir Panteleev authored
Avoid clobbering last error with NO_ERROR when GetEnvironmentVariableA succeeds, matching the behavior of GetEnvironmentVariableW and Windows. Instead of naively saving and restoring the last error, call RtlQueryEnvironmentVariable_U directly to avoid unnecessarily setting it in the first place. Signed-off-by: Vladimir Panteleev <git@vladimir.panteleev.md> Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
7ad5e1bc
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.in | ||
cred.c | ||
crypt.c | ||
crypt_lmhash.c | ||
crypt_md4.c | ||
crypt_md5.c | ||
crypt_sha.c | ||
eventlog.c | ||
lsa.c | ||
registry.c | ||
rsrc.rc | ||
security.c | ||
service.c |