Skip to content

Version 3.1

Compare
Choose a tag to compare
@tavianator tavianator released this 06 Feb 21:38
· 351 commits to main since this release
3.1

New features

  • On Linux, bfs now uses io_uring for async I/O

  • On all platforms, bfs can now perform stat() calls in parallel, accelerating queries like -links, -newer, and -size, as well as colorized output

  • On FreeBSD, -type w now works to find whiteouts like the system find

Changes

  • Improved bfs -j2 performance (b2ab7a1)

  • Optimized -exec by using posix_spawn() when possible, which can avoid the overhead of fork() (95fbde1)

  • -execdir and -okdir are now rejected if $PATH contains a relative path, matching the behaviour of GNU find (163baf1)

  • Leading whitespace is no longer accepted in integer command line arguments like -links ' 1' (e0d7dc5)

Bug Fixes

  • -quit and -exit could be ignored in the iterative deepening modes (-S {ids,eds}). This is now fixed (670ebd9). The bug was introduced in version 3.0.3 (commit 5f16169).

  • Fixed two possible errors in sort mode (-s):

  • Fixed handling of FreeBSD union mounts (3ac3bee)

  • Fixed NO_COLOR handling when it's set to the empty string (79aee58)

  • Fixed some portability issues: