7 Jul
2022
7 Jul
'22
1:09 a.m.
Chip Davis (@cdavis5e) commented about dlls/scrrun/filesystem.c:
if((attrs == INVALID_FILE_ATTRIBUTES) || !(attrs & FILE_ATTRIBUTE_DIRECTORY)) return CTL_E_PATHNOTFOUND;
+ _wsplitpath(source, src_drive, src_dir, file_name, file_ext); + len = lstrlenW(destination); + + if (destination[len-1] == '\\') {
What about `'/'`? I know that's a valid separator to the Win32 API. Is it one to this API? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/391#note_3508