2 Jan
2025
2 Jan
'25
9:47 a.m.
Piotr Caban (@piotr) commented about dlls/ntoskrnl.exe/tests/ntoskrnl.c:
} else { - ok(GetLastError() == RtlNtStatusToDosErrorNoTeb(expect_status), "got error %lu\n", GetLastError()); + ULONG err = RtlNtStatusToDosErrorNoTeb(expect_status); + ok(GetLastError() == err, "got error %lu\n", GetLastError());
This change is not needed. `RtlNtStatusToDosErrorNoTeb` is not setting last error. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7081#note_91234