28 Apr
2025
28 Apr
'25
11:06 a.m.
Rémi Bernon (@rbernon) commented about dlls/ntdll/unix/file.c:
io_status->Status = status; io_status->Information = 0; + handles_size = wine_server_reply_size( reply ); + } + else if (status == STATUS_BUFFER_OVERFLOW) + { + free( cancelled_handles ); } + count = reply->handles_size / sizeof(*cancelled_handles); } SERVER_END_REQ; + if (status != STATUS_BUFFER_OVERFLOW) + break; + } + + if (handles_size)
This variable doesn't seem very useful, what about: ```suggestion:-0+0 if (!status) ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7797#note_102029