Commit Graph
19809 Commits
Author SHA1 Message Date
CodSpeed Bot 91227b2d66 sort: cache locale collation decision to avoid per-comparison Locale construction
locale_cmp evaluated `get_collating_locale().0 == DEFAULT_LOCALE` on every
call. DEFAULT_LOCALE is a const that materializes a fresh heap-backed Locale
each time, so the last-resort compare path allocated and dropped an ICU Locale
per comparison. Cache the decision in a OnceLock<bool> via
should_use_locale_collation() so the C/POSIX case falls straight through to
byte comparison, fixing the sort benchmark regression.
2026-07-19 09:54:40 +00:00
lauchimoon de6f5a2de6 sort: fixed style in compare_by 2026-07-10 19:10:18 -03:00
lauchimoon cc2b734fa1 sort: use locale_cmp when all selectors have equal ordering 2026-07-10 17:31:15 -03:00
wtcpython cd80f634b4 touch: parse unpadded dates in local time 2026-07-10 15:33:14 +02:00
oech3 403aafc604 install: simplify if & match 2026-07-10 14:22:40 +02:00
oech3 759a8f6499 install: remove unreachable cfg block 2026-07-10 14:13:18 +02:00
oech3 1cb655df7b install: remove an unwrap() 2026-07-10 14:07:39 +02:00
oech3 e52643005f install: remove unused cfg 2026-07-10 10:05:54 +02:00
oech3 0f9aeabdca install: remove dead code 2026-07-10 09:57:12 +02:00
renovate[bot] d176eb03e4 chore(deps): update rust crate regex to v1.13.0 2026-07-09 18:27:23 +02:00
xtqqczze 0f72a5b5fb clippy: fix byte_char_slices lint
https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
2026-07-09 16:57:23 +02:00
xtqqczze 091dbbb32c clippy: fix manual_assert_eq lint
https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert_eq
2026-07-09 16:57:23 +02:00
xtqqczze 86ad2c25b8 clippy: fix useless_borrows_in_formatting lint
https://rust-lang.github.io/rust-clippy/master/index.html#useless_borrows_in_formatting
2026-07-09 16:57:23 +02:00
Pascal Bachor 18e1df7204 ls: allow detached --sort, --format, --time, --block-size 2026-07-09 14:35:53 +02:00
Daniel Hofstetter b42827c9b2 touch: remove unnecessary error msg (#13325) 2026-07-09 13:17:29 +02:00
sjh9714 2c3f5f5781 stty: avoid overflow when rounding max baud rate 2026-07-09 10:40:55 +02:00
wtcpython 8bf313b966 touch: report original input in -t timestamp error message
parse_timestamp would report the century/year-prefixed internal form
in the 'invalid date ts format' error instead of the user's original
input (e.g. '202026-04-10' for input '2026-04-10'). Reference the
original string so the message matches what was typed.
2026-07-09 09:41:20 +02:00
renovate[bot] 32015ab2c3 chore(deps): update rust crate jiff to v0.2.32 2026-07-09 07:55:24 +02:00
wtc 871b80c220 docs: fix macOS tier 1 targets and platform compatibility table (#13305)
* docs: fix macOS tier 1 targets and platform compatibility table

- Add aarch64-apple-darwin to the tier 1 macOS target list.
- Use feat_os_unix for macOS in uudoc.rs, since feat_os_macos does not
  exist and caused the compatibility table to show almost no macOS
  support.

* uudoc: remove unnecessary comment about macOS feature

* uudoc: drop macos feature entry and use unix for macOS
2026-07-08 17:07:52 +02:00
Chaganti-Reddy ff3f37d678 cp: don't panic on write error when printing --verbose output. Fixes #13060 2026-07-08 13:25:39 +02:00
weili 5d71e9a1ee kill: report write errors when listing signals instead of panicking
`kill -l`, `kill -l <sig>`, `kill --list`, and `kill --table` printed their
output with `println!`, whose internal `io::stdout().write_fmt().unwrap()`
aborts the process (SIGABRT, exit 134) when the stdout write fails — e.g.
`kill -l TERM > /dev/full`.

Write the signal listing to a buffered stdout and propagate the `io::Error`
via `?`, so a failed write reports `kill: write error: <reason>` and exits 1,
matching procps-ng `kill` (GNU coreutils ships no standalone `kill`). Add a
`kill-error-write-error` locale key (en-US, fr-FR) and a regression test that
lists signals to `/dev/full`.
2026-07-08 09:39:34 +02:00
renovate[bot] 8cf6f1380d chore(deps): update rust crate memchr to v2.8.3 2026-07-08 08:20:19 +02:00
oech3 7b0d6c8952 kill: remove useless fn rustix_to_io 2026-07-07 15:06:37 +02:00
Favilances e1fa1f8348 kill: accept SIGIO as alias for SIGPOLL 2026-07-07 14:59:18 +02:00
JohannesSchillingandJohannes Schilling 8576ef07c4 README: fix gnu vs musl note (#13303)
Co-authored-by: Johannes Schilling <dario@deaktualisierung.org>
2026-07-07 12:42:52 +02:00