The GNU Project has released version 4.10.0 of the findutils package, which includes implementations of utilities for organizing file searches in the system, such as find, updatedb, and locate. The findutils package also develops the xargs utility, which is designed to build commands executed with data from standard input, typically generated by the find utility.
In the new version:
- Support for the Musl C library, distributed under the MIT license, has been renewed. This change allows GNU findutils to be used in Linux distributions that employ Musl instead of Glibc, such as Void Linux, Alpine Linux, postmarketOS, OpenWrt, and Static Linux.
- The "Year 2038 problem" has been resolved, which caused failures on systems with a 32-bit time_t type when processing files dated after January 19, 2038, in the findutils utilities. The failure is due to the 32-bit time_t type being unable to handle time after January 19, 2038, due to the overflow of the 32-bit second counter that counts from January 1, 1970. An option "--disable-year2038" is provided for building on systems that do not support time after 2038.
- When building the find utility, the default optimization level is set to level one instead of level two to avoid changing the order of operation execution and to ensure repeatable behavior.
Additionally, a few days ago, the package uutils findutils 0.6.0 was released, featuring an alternative implementation of the utilities from the GNU Findutils set, written in Rust. Compatibility with GNU findutils is assessed at 65.97% when tested in the BFS Test Suite and 63.38% in the GNU Test Suite (190 tests were successfully executed in the BFS suite and 445 in the GNU suite, while 97 and 256 tests are still failing.
Improvements in uutils findutils 0.6.0 include the addition of support for options "-uid", "-gid", "-samefile", "-fstype", "-[no]user", "-[no]group", "-newerXY", "-anewer", and "-cnewer" in the find utility, the ability to specify ranges in the options "-amin", "-cmin", and "-mmin", and caching of information about files being compared when using options like "-samefile" and "-newerXY". The xargs utility has implemented the option "--max-lines."
Source: opennet.ru
