19561 Commits

Author SHA1 Message Date
oech3 542e7af8f1 yes: match with GNU's strace behaviour (#12717) 2026-06-10 19:27:34 +02:00
Daniel Hofstetter e88edb4b1a truncate: remove duplicate test 2026-06-10 17:17:11 +02:00
oech3 42235374f1 tail: reduce code 2026-06-10 14:32:43 +02:00
oech3 e62a1ff514 GnuTests (SMACK): bump busybox URL 2026-06-10 14:26:56 +02:00
oech3 f406ea0b29 tail: drop outdated comment about <&- 2026-06-10 10:44:03 +02:00
Sylvestre Ledru 82ff02156e fold: continue processing files after an open error (#12668)
Should make test fold/multiple-files.sh pass
2026-06-10 07:50:38 +02:00
renovate[bot] 08051f1ffb chore(deps): update rust crate regex to v1.12.4 2026-06-10 07:23:02 +02:00
Wei Li f24a8ced07 install: don't panic when the strip program is killed by a signal (#12730)
`install -s --strip-program=PROG` aborted with an Option::unwrap panic when
PROG was terminated by a signal: the strip-failure branch formatted its error
with `status.code().unwrap()`, but `ExitStatus::code()` is `None` for a
signal-terminated process.

Branch on `status.code()`: keep the existing "exit code: N" message for a
normal non-zero exit, and use a new `install-error-strip-terminated` message
("strip process terminated abnormally") for the signal case — matching GNU,
which reports the same and exits 1. Adds the locale key to en-US and fr-FR and
a regression test.
2026-06-09 22:17:37 +02:00
Wei Li 3db0433c41 dircolors: don't panic on an invalid TERM/COLORTERM glob (#12728)
A database file with a TERM/COLORTERM line whose value is an invalid glob
(e.g. an unclosed `[`) aborted dircolors with a Result::unwrap panic:
`fnmatch` did `parse_glob::from_str(pat).unwrap().matches(self)`, and
from_str returns Err for an unparseable pattern.

Use `is_ok_and`, so an invalid glob is treated as a non-match (and the
unmatched TERM section is skipped) instead of crashing — matching GNU, which
emits an empty LS_COLORS and exits 0.
2026-06-09 22:16:55 +02:00
Devel 47f549a8fa gnucompability(fold): uutils fold accept width 0 but gnu fold rejects it (#12744) 2026-06-09 22:12:54 +02:00
oech3 1a39966ef0 uufuzz: simplify 2026-06-09 22:12:01 +02:00
Sylvestre Ledru d21d02e6ab truncate: process all files when one fails
Should make test truncate/multiple-files.sh pass
2026-06-09 16:01:47 +02:00
Sylvestre Ledru 47dcbbaa15 rm: rewrite dash-hint test with original fixtures 2026-06-09 15:19:32 +02:00
oech3 cbfb4da9f3 wc: remove unnecessary .as_fd() 2026-06-09 15:00:48 +02:00
oech3 8e1c58cde0 uucore: remove unnecessary .as_fd() 2026-06-09 14:51:06 +02:00
oech3 86cc98e343 tail: remove unnecessary .as_fd() 2026-06-09 14:43:15 +02:00
Sylvestre Ledru 962566b194 SECURITY.md: document threat model, scope, and GitHub reporting 2026-06-09 09:11:36 +02:00
Sylvestre Ledru dab93926d2 rm: hint to use ./-foo when removing a dash-prefixed file 2026-06-08 22:06:42 +02:00
max-amb 4a41104d38 Moved sync outside of filesystem calls 2026-06-08 20:46:23 +02:00
Daniel Hofstetter 13d37420bd cp: change return type of backup_dest()
from CopyResult<PathBuf> to CopyResult<()>
2026-06-08 17:40:39 +02:00
max-amb bebd613a96 cp: Added error handling on printing debug message 2026-06-08 09:07:07 +02:00
max-amb 4b2401e7d6 cp: Added write error (specifically for --debug) 2026-06-08 09:07:07 +02:00
oech3 47d7c76591 yes: improve throughput & simplify code (#12650) 2026-06-07 22:31:50 +02:00
Juan Cruz Mateos 80cc829771 sort: fix locale collation strength for hyphen ordering (#12677)
Set Strength::Quaternary on the ICU collator so that punctuation like
hyphens sort before alphanumerics in UTF-8 locales, matching GNU sort
behavior.

Fixes #12542
2026-06-07 21:55:03 +02:00
Daniel Hofstetter 5fd68db078 cp: remove unnecessary cfgs in Linux module (#12692) 2026-06-07 21:52:57 +02:00