[PATCH v2 2/4] kernelbase: Preserve last error when GetEnvironmentVariableA succeeds.

Gijs Vermeulen gijsvrm at gmail.com
Thu May 14 17:25:15 CDT 2020


Op do 14 mei 2020 om 23:30 schreef Marvin <testbot at winehq.org>:
> === debiant (32 bit Japanese:Japan report) ===
>
> advapi32:
> security.c:5102: Test failed: Last error was 122
>
> === debiant (32 bit Chinese:China report) ===
>
> advapi32:
> security.c:5102: Test failed: Last error was 122

I can't reproduce this locally.

GetUserNameA() still reports success (so len < *size, that means
ERROR_INSUFFICIENT_BUFFER isn't set there) and GetEnvironmentVariableA
doesn't set ERROR_INSUFFICIENT_BUFFER anymore.
Am I missing something here?



More information about the wine-devel mailing list