11 Oct
2023
11 Oct
'23
9:22 a.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/tests/string.c:
ok(errno == 0xdeadbeef, "errno is %d, expected 0xdeadbeef\n", errno); }
+static void test_wcsdup(void) +{ + WCHAR *str = wcsdup(0); + errno = 0xdeadbeef;
Please set errno before calling `wcsdup(0)`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4071#note_48314