10 Jul
2025
10 Jul
'25
11:05 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/kernel32/tests/file.c:
+{ + DWORD size; + HANDLE file; + + file = CreateFileA(filename, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, + FILE_ATTRIBUTE_NORMAL, NULL); + ok(file != INVALID_HANDLE_VALUE, "CreateFile failed: %lu\n", GetLastError()); + if(file == INVALID_HANDLE_VALUE) + return FALSE; + WriteFile(file, manifest_long_path_aware, strlen(manifest_long_path_aware), &size, NULL); + CloseHandle(file); + + return TRUE; +} + +static void run_child_process(void) Let's call this run_child_long_path_aware_process().
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7540#note_109455