https://bugs.winehq.org/show_bug.cgi?id=53950
Bug ID: 53950 Summary: dup2 error returns ENFILE instead of EBADF Product: Wine Version: 7.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: xantares09@hotmail.com Distribution: ---
Created attachment 73526 --> https://bugs.winehq.org/attachment.cgi?id=73526 testcase
dup2 returns an incorrect error code: ENFILE instead of EBADF
this is very similar to https://bugs.winehq.org/show_bug.cgi?id=53677
https://bugs.winehq.org/show_bug.cgi?id=53950
xantares xantares09@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux CC| |piotr.caban@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53950
--- Comment #1 from xantares xantares09@hotmail.com --- see attached testcase
https://bugs.winehq.org/show_bug.cgi?id=53950
xantares xantares09@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=53950
xantares xantares09@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #2 from xantares xantares09@hotmail.com --- https://gitlab.winehq.org/wine/wine/-/commit/53bc6c7a4a416252559a2a174821001...
https://bugs.winehq.org/show_bug.cgi?id=53950
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |53bc6c7a4a416252559a2a17482 | |1001fdd576c6f
https://bugs.winehq.org/show_bug.cgi?id=53950
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.