https://bugs.winehq.org/show_bug.cgi?id=54486
Bug ID: 54486 Summary: getenv_s returns the wrong value Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ucrtbase Assignee: wine-bugs@winehq.org Reporter: blitzkriegoutlaw@hotmail.com Distribution: ---
Created attachment 74039 --> https://bugs.winehq.org/attachment.cgi?id=74039 Test case
'getenv_s(&l, NULL, 0, "HOMEDRIVE");' returns 0 (success) on Windows and 35 (ERANGE) with Wine. ERANGE should be returned only if buffer and numberOfElements are provided.
https://bugs.winehq.org/show_bug.cgi?id=54486
blitzkriegoutlaw@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ucrtbase |msvcrt
https://bugs.winehq.org/show_bug.cgi?id=54486
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com Resolution|--- |FIXED Fixed by SHA1| |b7a586771b96cd38e4afb727fef | |cab3a9deef3c5 Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- Marking as fixed by b7a586771b96cd38e4afb727fefcab3a9deef3c5. If there are still issues please reopen the bug.
https://bugs.winehq.org/show_bug.cgi?id=54486
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.2.