mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-29 12:15:39 +00:00
std::filesystem::status does not follow a Windows symbolic link under MinGW, so the lookup chflags makes saw a link whose target is missing as an existing file and returned 0. A reparse point in the last component is now looked up through the target with the guest stat, as FreeBSD 11.4's namei follows it: a missing target gives ENOENT, and a trailing slash after a link to a file gives ENOTDIR. Co-Authored-By: Claude Opus 5.5 <[email protected]>