March 25, 2026
1:59 p.m.
Akihiro Sagawa (@sgwaki) commented about dlls/kernelbase/file.c:
return 0; }
+ /* Handle \\?\ prefix (Extended Length Path) */ + if (shortpath[0] == '\\' && shortpath[1] == '\\' && shortpath[2] == '?' && + shortpath[3] == '\\') { + /* Filter out entended UNC */ + if (_wcsnicmp(shortpath + 4, L"UNC\\", 4) == 0) {
`wcsnicmp()` is preferred. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10192#note_133723