Commit Graph

18680 Commits

Author SHA1 Message Date
mattsu d719f61ba2 cp: fix collapsible_if lints with let chains 2026-03-11 09:10:04 +01:00
Daniel Hofstetter a381d11b85 install: rename "unprivileged" property (#11283)
to "privileged" to avoid double-negations in the code
2026-03-11 07:39:38 +01:00
Simon Johnsson 913654b074 stty: Fix incorrect ppc64el type presumption (#11284)
* stty: Fix incorrect ppc64el type presumption

* stty: Run cargo fmt
2026-03-11 07:38:39 +01:00
xtqqczze f3a3bed77d clippy(expand): fix collapsible_if lint (#11286)
https://rust-lang.github.io/rust-clippy/master/#collapsible_if

### How it was applied

```
cargo +stable clippy -p uu_expand --fix --all-targets --all-features -- -A clippy::all -W clippy::collapsible_if
cargo +stable fmt --all -- --emit files
```
2026-03-11 07:38:17 +01:00
mattsu 4bf7f3c746 df: replace unsafe libc sync with nix crate (#11279)
* refactor(df): replace unsafe libc sync with nix crate

Replace the unsafe libc sync call with the nix crate's sync_filesystems function for safer filesystem synchronization. This change improves code safety by using a well-maintained Rust wrapper instead of direct unsafe libc calls.

---------

Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com>
2026-03-11 07:37:09 +01:00
renovate[bot] c232c967d9 chore(deps): update rust crate tempfile to v3.27.0 2026-03-11 07:05:30 +01:00
oech3 a7ba8a1c40 make.yml: Replace wrong *.yml ref 2026-03-10 17:17:38 +01:00
xtqqczze 4cdcfb7b41 install: refactor conditional expression 2026-03-10 16:43:30 +01:00
renovate[bot] 8c2d995bac chore(deps): update dawidd6/action-download-artifact action to v16 2026-03-10 13:44:38 +01:00
mattsu 88219aafe9 fix(tail): increase retry delay and sleep interval for flaky test (#11278)
Increases the retry delay from 100ms to 400ms and sleep interval from 0.1s to 0.2s in test_retry9 to address flaky test behavior caused by timing sensitivity.
2026-03-10 13:27:54 +01:00
Sylvestre Ledru 36b5e59329 dd: fix ISO-8859-1 case conversion for conv=lcase/ucase (#10830) 2026-03-10 13:27:24 +01:00
renovate[bot] b3f6e3b500 chore(deps): update actions/upload-artifact action to v7 2026-03-10 11:02:33 +01:00
Sylvestre Ledru 5a912a7fa1 adjust the publish script to ship src/uu/checksum_common 2026-03-10 09:26:09 +01:00
oech3 ace511ff64 CICD.yml: split jobs for make (#11269) 2026-03-10 08:58:25 +01:00
mattsu f414b7044c refactor: replace manual last().is_some_and() checks with pop_if() method (#11272)
Replace manual checks for last element existence and condition with the new pop_if() method for cleaner, more idiomatic code across multiple utilities (dd, nl, paste, shuf, uniq). This change improves code readability and reduces boilerplate while maintaining identical functionality.
2026-03-10 08:57:57 +01:00
Sylvestre Ledru 80ef0d7d71 Revert "Cargo.toml: Avoid huge diff generation at version bump (#11131)" (#11259)
This reverts commit 70ce572bcf.
2026-03-09 22:17:28 +01:00
mattsu 53200b3663 refactor: replace File::from_raw_fd with nix::sys::stat for safer stdin size check
Replace the unsafe File::from_raw_fd approach with nix::sys::stat::fstat for checking if stdin is a small file. This change improves safety by avoiding manual file descriptor management and using the nix crate's safer interface for file statistics.
2026-03-09 14:18:42 +01:00
oech3 bf955a9a8c nice -n . 2>/dev/full does not abort (#10762) 2026-03-09 10:00:08 +01:00
xtqqczze d28a44ed15 use var_os in a few places 2026-03-09 08:25:01 +01:00
oech3 995c9e04a6 date: Remove eprintln! to avoid 2>/dev/full abort (#11228) 0.7.0 2026-03-08 13:06:05 +01:00
karanabe 005cf50a1a kill: fix GNU compatibility tests for RTMIN and RTMAX (#11224)
* kill: list Linux realtime signals correctly

Add list-specific signal helpers for RTMIN/RTMAX and unnamed
signal numbers, and use them in kill and env range iteration.
Keep send-oriented signal parsing unchanged for signal delivery.

* document low-byte signal decoding in list mode
2026-03-08 09:25:53 +01:00
xtqqczze f00a050106 clippy: fix nightly lints (#11232) 2026-03-08 09:13:23 +01:00
cerdelen a6b0276966 date: extend tz abbreviation lookup 2026-03-07 16:46:48 +01:00
oech3 59aa4d7bbc true, false: drop Vec for binary size and perf 2026-03-07 16:07:15 +01:00
oech3 38e2f15c4d --typo 2>/dev/full does not abort (#10764) 2026-03-07 09:58:20 +01:00