eric pouech (@epo) commented about dlls/ntdll/unix/file.c:
if (!last_info) status = STATUS_NO_MORE_FILES; else if (status == STATUS_MORE_ENTRIES) status = STATUS_SUCCESS; - - io->Status = status; } if (cwd == -1 || fchdir( cwd ) == -1) chdir( "/" ); } else status = errno_to_status( errno );
+ /* io->Status should only update if status isn't STATUS_NO_SUCH_FILE */ + if (status != STATUS_NO_SUCH_FILE)
for the record, my local win10 VM sets io-\>Status even for STATUS_NO_SUCH_FILE, but checked on Wine's testbot, and none of the listed Win10&11 sets it. so it's likely been updated in recent VM (Wine's testbot windows versions haven't been updated for a while. Fine to keep it as it is. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_93183