May 10, 2026
9:49 a.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/file.c:
TRACE(":fd (%d) handle (%p)\n", fd, info->handle);
if (info->handle == INVALID_HANDLE_VALUE) + { + msvcrt_set_errno(ERROR_INVALID_HANDLE);
Native is not setting \_doserrno in this case. Could you please change it to: ```suggestion:-0+0 *_errno() = EBADF; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10846#note_139364