diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-17 13:58:39 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-17 13:58:39 -0500 |
commit | 40e195c1bd60737964bb2b8ab25780a02003f8e1 (patch) | |
tree | b079dae8e5dd594c8bcb6269eab224a74bc8595b /src/xspawn.h | |
parent | 6f5c265e84f565fd37ea2ad38d7f588ca08b0f03 (diff) | |
download | bfs-40e195c1bd60737964bb2b8ab25780a02003f8e1.tar.xz |
tests/posix: Avoid catastrophic backtracking
Using -path 'deep/*/*/.../*' to simulate -mindepth 18 falls off a
performance cliff on systems that use backtracking for fnmatch(). This
was observed on macOS 12.4. Instead, just use -type f.
Diffstat (limited to 'src/xspawn.h')
0 files changed, 0 insertions, 0 deletions