21392 Commits
Author SHA1 Message Date
renovate[bot] 98194d4c1d chore(deps): update rust crate sha2 to v0.11.1 2026-10-13 07:16:02 +02:00
Daniel Hofstetter fb68e6c5ac comm: allow both --check-order and --nocheck-order
last one "wins"
2026-10-12 23:27:59 +02:00
oech3 774cca5094 Add prefix to benches 2026-10-12 22:48:51 +02:00
tasodoufu 02c6edb6dc sort: propagate temporary file write errors
The threaded external sorter silently swallowed I/O errors from
temporary file writes, causing truncated or missing spill data to
go unnoticed. Propagate the write error to abort the sort with a
proper diagnostic.

Also add a regression test covering the spill write failure path.
2026-10-12 20:57:06 +02:00
oech3 a225f74477 CICD.yml: Run tests depending on strace or unshare 2026-10-12 18:20:58 +02:00
0Whisperos 8a2e715973 uucore: gate mode escaping helper on non-Windows 2026-10-12 17:13:50 +02:00
0Whisperos b63b93d64a mkdir: streamline invalid mode escaping 2026-10-12 17:13:50 +02:00
0Whisperos fd9dd6651a mkdir: format uucore feature list 2026-10-12 17:13:50 +02:00
0Whisperos e3dbb19056 mkdir: quote invalid modes in diagnostics
Use C-style quoting for invalid mode errors when stderr is not a terminal. Escape control characters in rich mode diagnostics while preserving the highlighted span.
2026-10-12 17:13:50 +02:00
Jake Abendroth efca9814be uucore: don't rely on /tmp in test_path_is_root_dir 2026-10-12 15:15:44 +02:00
Franklin-Qi d43f2b8578 comm: hoist column flags and reuse order-check buffer
Avoid per-line clap get_flag lookups and Vec reallocations in the
main merge loop.

Closes: #15046
2026-10-12 14:37:43 +02:00
Jake Abendroth 6292c03328 install: create leading directories in write-only directories
install -D opened the deepest existing ancestor read-only, so it failed
with EACCES when that directory had write and execute but not read
permission, while GNU install succeeds. Open it with DirFd::open_anchor.
2026-10-12 11:46:11 +02:00
Jake Abendroth 4410b2a1a6 uucore: add DirFd::open_anchor for write-only directories
Open a directory readable, and on EACCES retry with O_PATH or O_SEARCH,
which anchor *at calls without read access. The targets with either flag
are named by the has_o_path and has_o_search cfg aliases. If the retry
fails, its own error is returned.
2026-10-12 11:46:11 +02:00
Jake Abendroth 2b04160946 tests: more: kill more at the end of each pty test 2026-10-12 11:01:44 +02:00
Jake Abendroth 5887f1de6a uutests: open simulated terminals close-on-exec
openpty doesn't set close-on-exec, so every command that another test
started while a terminal was simulated inherited its PTYs, up to six
descriptors. Tests that run under a low descriptor limit then failed.

Open the PTY close-on-exec through rustix where the OS supports it
(Linux, Android, FreeBSD, NetBSD), and set it right after openpty
elsewhere, which leaves a short window.

The stdin PTY stayed open only through the copy the child inherited.
Read its echo in a thread, as a terminal would, which keeps it open until
the child closes it; macOS also waits at exit for an unread echo.
2026-10-12 11:01:44 +02:00
Oleg 46567bd871 split: remove a stray space before a colon in an error message 2026-10-12 11:00:35 +02:00
Oleg 96877426d5 printf: fix escape sequences, examples and typos in the help text 2026-10-12 11:00:35 +02:00
Oleg f9f165cc46 pr: fix the -COLUMN reference in the --across help 2026-10-12 11:00:35 +02:00
Oleg d4c5c25abe od: use the BYTES placeholder in the --skip-bytes help 2026-10-12 11:00:35 +02:00
Oleg 9e42dab965 mv: fix the --interactive help text 2026-10-12 11:00:35 +02:00
Oleg 82cdd0fa4a mknod: fix the help for MAJOR, MINOR and -Z 2026-10-12 11:00:35 +02:00
Oleg a968b1468d mkdir: fix the --verbose help text 2026-10-12 11:00:35 +02:00
Oleg 514b8b3712 install: say copy, not move, in the --target-directory help 2026-10-12 11:00:35 +02:00
Oleg cfe93ae5f6 factor: fix grammar in the incomplete factorization error 2026-10-12 11:00:35 +02:00
Oleg 9e58ad3dc4 echo: fix the backslash escape in the help text 2026-10-12 11:00:35 +02:00