You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: copy_tree and list_files_text follow junctions and directory symlinks #1952
Noted in #1863's description and confirmed in review: after #1863, remove_tree on Windows treats a junction/symlink as the link itself, but copy_tree and list_files_text still descend into the target. The POSIX copy_tree is lstat-based and does not follow. Make the Windows walkers classify entries with the same win_is_link test (reparse point + name-surrogate bit) and copy/list the link, not its target, with a test mirroring behav_fs_remove_tree_windows_junctions.w.
Fixed on main by 3044b9c (stack #1979, battery green on 029574d). Windows copy_tree and list_files_text classify entries with win_is_link; a link lists as itself and copy_tree refuses a directory link (-21), matching macOS; verified on win10.
Activity
Windows copy_tree and list_files_text treat a junction or directory s…
Windows copy_tree and list_files_text treat a junction or directory s…
Runtime/Windows/fs: remove_tree trailing-slash link (#1951); VecRange…
ehartford commentedon Oct 3, 2026
Fixed on main by 3044b9c (stack #1979, battery green on 029574d). Windows copy_tree and list_files_text classify entries with win_is_link; a link lists as itself and copy_tree refuses a directory link (-21), matching macOS; verified on win10.