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
Recursive globs fail too early on partial path match #14934
Activity
refi64 commentedon Nov 1, 2024
In
glob_ascii.zig, we have:bun/src/glob_ascii.zig
Lines 401 to 403 in 6933208
I...don't think this is correct? In
a/abc, it "locks in" at the firsta, which makes no sense. Does this maybe need to maintain a stack or similar?Jarred-Sumner commentedon Nov 1, 2024
@zackradisic wdyt?
Jarred-Sumner commentedon Nov 2, 2024
@dylan-conway spent some time investigating. This bug is present in both the Zig and Rust library our glob implementation was partially based on
dylan-conway commentedon Nov 2, 2024
Likely the same bug: devongovett/glob-match#9
**/*name*to any file paths #16878 as a duplicate of this issue