21 Jan
2026
21 Jan
'26
12:07 a.m.
Alfred Agrell (@Alcaro) commented about dlls/kernel32/tests/module.c:
cookie = pAddDllDirectory( rootW ); ok( cookie != NULL, "AddDllDirectory failed err %lu\n", GetLastError() ); SetLastError( 0xdeadbeef ); + cookie = pAddDllDirectory( deviceW ); + ok( cookie != NULL, "AddDllDirectory failed err %lu\n", GetLastError() ); + SetLastError( 0xdeadbeef ); ret = pRemoveDllDirectory( cookie ); ok( ret, "RemoveDllDirectory failed err %lu\n", GetLastError() );
I think you should duplicate these two lines too -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9917#note_127477