Commits
Click on a commit to change the comparison rangerefactor: simplify FD limit handling in chmod recursive test
Use rlimit crate's .limit() method instead of manual libc rlimit calls for constraining NOFILE.
This cleans up the test code and leverages existing utilities in the rlimit crate.
Additionally, optimize import by using PathBuf directly from std::path.1 month ago
by mattsu2020 refactor(chmod): remove redundant std::path:: qualifier from PathBuf type
Use implicit import for PathBuf to simplify code readability.1 month ago
by mattsu2020 Merge branch 'main' into chmod_FD_fix1 month ago
by mattsu2020 Merge branch 'uutils:main' into chmod_FD_fix22 days ago
by mattsu2020 Merge branch 'main' into chmod_FD_fix20 days ago
by mattsu2020 Merge remote-tracking branch 'upstream/main' into chmod_FD_fix14 days ago
by mattsu2020 Merge remote-tracking branch 'upstream/main' into chmod_FD_fix
# Conflicts:
# src/uu/chmod/src/chmod.rs11 days ago
by mattsu2020 Merge remote-tracking branch 'upstream/main' into chmod_FD_fix refactor: streamline error handling and variable scoping in chmod and chown executors
Use match expressions for metadata retrieval to improve readability and reduce nesting. Hoist variable declarations for better scope management in ChownExecutor. These changes enhance code clarity without altering functionality. Merge branch 'main' into chmod_FD_fix Merge branch 'main' into chmod_FD_fix refactor(chmod_bench): add explicit unsafe blocks around alloc and getrlimit calls
Wrap System allocator method calls (alloc, dealloc, realloc) and getrlimit in explicit unsafe blocks to satisfy Rust safety requirements and potential linting rules, improving code clarity in the benchmark file. refactor: reorder imports in chmod_bench.rs
Reorder divan and uucore::libc imports to alphabetical order for improved code consistency and readability. refactor(chmod): update raw pointer syntax in benchmark
Replace `&mut lim as *mut _` with `&raw mut lim` to use the newer,
more explicit Rust syntax for creating raw mutable pointers. This
improves code clarity and aligns with modern Rust idioms. chore(deps): update Rust dependencies to latest versions
- Updated multiple crates including aho-corasick, anstream, anstyle, bitflags, unicode-ident, uuid, and others to their latest versions
- Added toml_parser crate as a new dependency
- Added codspeed-divan-compat and tempfile to uu_chmod dependencies
- This ensures compatibility, security fixes, and latest features from upstream crates