6 Feb
2025
6 Feb
'25
12:19 p.m.
Rémi Bernon (@rbernon) commented about dlls/ntdll/unix/sync.c:
+ struct ntsync_mutex_args args = {0}; + NTSTATUS ret; + + ret = ioctl( obj, NTSYNC_IOC_MUTEX_READ, &args ); + + if (ret < 0) + { + if (errno == EOWNERDEAD) + { + info->AbandonedState = TRUE; + info->OwnedByCaller = FALSE; + info->CurrentCount = 1; + return STATUS_SUCCESS; + } + else + return errno_to_status( errno );
}
return errno_to_status( errno );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7226#note_93880