Alexandre Julliard pushed to branch master at wine / wine
Commits: e6a6ae70 by Rémi Bernon at 2025-10-22T00:04:25+02:00 ntdll: Fix (Nt|Zw)WaitForMultipleObjects signature.
The functions take a WAIT_TYPE argument instead of a BOOLEAN.
This causes test failures in kernel32:sync when compiled with clang and optimizations enabled, as it optimizes away clearing the higher bytes of the register used for the WAIT_TYPE argument, leaving set bits in the higher bytes ending up with an invalid WAIT_TYPE value.
- - - - -
11 changed files:
- dlls/kernel32/tests/sync.c - dlls/kernelbase/sync.c - dlls/ntdll/signal_arm64ec.c - dlls/ntdll/threadpool.c - dlls/ntdll/unix/env.c - dlls/ntdll/unix/sync.c - dlls/ntoskrnl.exe/sync.c - dlls/win32u/message.c - dlls/wow64/sync.c - include/ddk/wdm.h - include/winternl.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e6a6ae70682fcdc0b4e1573956fca16...