Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix glob expansion that includes broken symlinks #1567

Merged

Commits on Jun 29, 2022

  1. Fix glob expansion that includes broken symlinks

    Glob expansion should use os.Lstat rather than os.Stat so that broken
    symlinks don't stop glob expansion. It's not the place of glob expansion
    to decide if a particular path is good.
    
    The symlink test cases and logic were borrowed from
    pkg/mods/path/path_test.go.
    
    Fixes elves#1240
    krader1961 committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    c0ab3ca View commit details
    Browse the repository at this point in the history