12 Feb
2024
12 Feb
'24
9:19 p.m.
Alexandre Julliard (@julliard) commented about programs/where/main.c:
+ WCHAR current_dir[MAX_PATH]; + if (GetCurrentDirectoryW(ARRAY_SIZE(current_dir), current_dir)) + search(current_dir, pattern); + } + + search_path = search_paths; + do + { + semicolon = wcschr(search_path, ';'); + if (semicolon) + *semicolon = 0; + if (*search_path) + search(search_path, pattern); + search_path = semicolon + 1; + } + while (semicolon); and wcstok().
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3368#note_60922