Skip to content

Version 4.1.6

Latest

Choose a tag to compare

@tavianator tavianator released this 05 Nov 17:10
· 22 commits to main since this release
Immutable release. Only release title and notes can be modified.
4.1.6

Bug fixes

  • Fixed optimizer bugs that could produce wrong results for expressions involving the comma operator, like

    $ bfs \( -type f -o -type d \) , \! -type d
    

    The bugs were originally introduced in bfs 3.1 (February 6, 2024). (9b36c6bf, b6a703a3)

  • Fixed -regex with 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 -fstype on Linux bind mounts of the same file system. The bug was originally introduced in bfs 4.0.6 (February 26, 2025). (6fd62172)

  • Fixed -perm with 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 -hidden and -nohidden with 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 by bfs itself 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 -depth and multiple root paths. The bug had been present since -execdir was implemented in bfs 1.0 (April 24, 2017). (c855df75)

  • Fixed an assertion failure after -execdir failed to open a parent directory. -execdir now also works in directories that are searchable but not readable. (f330325b)

  • Fixed -exec, etc. attempting to execute a directory if it appeared earlier in $PATH than the actual binary. The bug was originally introduced in bfs 2.3 (November 25, 2021). (a44963fe)

  • Fixed integer overflow in -mtime and friends with very large time units, which are now reported as an error (b7bd6b7d)

  • Fixed a potential crash when hiding the -status bar with SIGINFO/SIGUSR1. The bug was originally introduced in bfs 4.0.3 (October 22, 2024). (f63154bf)

  • Fixed a use-after-free in -D exec with commands like -exec {} +. The bug was originally introduced in bfs 1.2.3 (July 15, 2018). (d68703db)

  • Fixed spurious EMFILE errors 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 -acl on DragonFly BSD (fc37d66c)