Repository navigation
Bug fixes
-
Fixed optimizer bugs that could produce wrong results for expressions involving the comma operator, like
$ bfs \( -type f -o -type d \) , \! -type dThe bugs were originally introduced in bfs 3.1 (February 6, 2024). (
9b36c6bf,b6a703a3) -
Fixed
-regexwith Oniguruma when a partial match was found before a complete one. For example,-regex '.*/a*\(ab\)*'failed to match./aab. The bug was originally introduced in bfs 2.4 (February 22, 2022). (90bd8929) -
Fixed
-fstypeon Linux bind mounts of the same file system. The bug was originally introduced in bfs 4.0.6 (February 26, 2025). (6fd62172) -
Fixed
-permwith multiple actions in a single symbolic mode, like+r+w, which only applied the file creation mask to the first action. The bug was originally introduced in bfs 4.0 (August 16, 2024). (0b16a06b) -
Fixed
-hiddenand-nohiddenwith root paths like./or../, which are now treated the same as.and... The bug was originally introduced in bfs 2.2 (March 6, 2021). (95e9fec5) -
Signals that were ignored at startup (for example by
nohup) now stay ignored, both bybfsitself and by any child processes it spawns. The bug was originally introduced in bfs 3.3 (May 28, 2024). (3da97069) -
Fixed
-execdir ... {} +detection of a changed working directory with-depthand multiple root paths. The bug had been present since-execdirwas implemented in bfs 1.0 (April 24, 2017). (c855df75) -
Fixed an assertion failure after
-execdirfailed to open a parent directory.-execdirnow also works in directories that are searchable but not readable. (f330325b) -
Fixed
-exec, etc. attempting to execute a directory if it appeared earlier in$PATHthan the actual binary. The bug was originally introduced in bfs 2.3 (November 25, 2021). (a44963fe) -
Fixed integer overflow in
-mtimeand friends with very large time units, which are now reported as an error (b7bd6b7d) -
Fixed a potential crash when hiding the
-statusbar withSIGINFO/SIGUSR1. The bug was originally introduced in bfs 4.0.3 (October 22, 2024). (f63154bf) -
Fixed a use-after-free in
-D execwith commands like-exec {} +. The bug was originally introduced in bfs 1.2.3 (July 15, 2018). (d68703db) -
Fixed spurious
EMFILEerrors by waiting for pending I/O before retrying. The bug was originally introduced in bfs 3.0 (July 13, 2023). (b5361674) -
Fixed duplicate error messages for files that couldn't be
stat()ed with-S {ids,eds}(b79d51a4) -
Fixed error messages when
fork()fails. The bug was originally introduced in bfs 4.0 (August 16, 2024). (07ddac5c) -
Fixed coloring of dataless files on macOS (
a96e7570) -
Fixed
-aclon DragonFly BSD (fc37d66c)