Commit Graph
19522 Commits
Author SHA1 Message Date
xtqqczzeandSylvestre Ledru 157bbabd5c deps: remove unnecessary package fields 2026-05-20 18:54:02 +02:00
xtqqczzeandSylvestre Ledru 5547962978 ci: specify bash shell for background jobs
GitHub Actions defaults to PowerShell on some runners, which swallows
background job output and can behave differently with `&`.
2026-05-20 18:53:25 +02:00
Charlie TonneslanandSylvestre Ledru acd51ef18d nohup: create nohup.out with mode 0600
POSIX nohup creates the output file with permissions that block other
users from reading it. We were leaving the mode at the process umask
default, so on a typical system with umask 022 the file would land at
0644 and any other local user could read whatever the detached job
logged. That's not great on multi-user hosts.

Pass `.mode(0o600)` on the OpenOptions so newly-created `nohup.out`
files start out as owner-only. Existing files keep their current
permissions, which matches GNU.

Closes #10021.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
2026-05-20 18:50:54 +02:00
oech3andSylvestre Ledru 8a271f57b4 yes: avoid ambiguous PAGE_SIZE 2026-05-20 18:49:47 +02:00
Victor ProkhorovandSylvestre Ledru f33bfb9321 chroot: resolve all ids before chroot 2026-05-20 18:49:32 +02:00
oech3andSylvestre Ledru 968f938484 tail: improve throughput for -c N file 2026-05-20 18:48:42 +02:00
oech3andSylvestre Ledru ef5155aa5c yes: don't mix buffered write and zero-copy 2026-05-20 18:46:11 +02:00
oech3andSylvestre Ledru 34c3d43861 wc: remove splice_exact 2026-05-20 18:45:01 +02:00
oech3andSylvestre Ledru a2d29c0216 dd: fix OOM panic with skip=1 2026-05-20 17:14:07 +02:00
oech3andSylvestre Ledru aa9332b473 buf_copy/linux.rs: drop unused trait 2026-05-20 17:13:23 +02:00
wuyangfanandDaniel Hofstetter 43c1e7b111 fix(sort): reject leading '+' in numeric (-n) sort
GNU sort -n does not treat '+' as a number sign. Skip f64 parsing for
lines with a leading plus so they sort lexicographically like GNU.

Fixes #10315
2026-05-20 11:52:38 +02:00
Eyüp Can AkmanandGitHub 5807760aa2 du: honor LC_NUMERIC for decimal separator (#12357)
* du: honor LC_NUMERIC for decimal separator

Route the fractional digit in `uucore::format::human::format_prefixed`
through `locale_decimal_separator()`, the same helper #11941 added for
`numfmt`. Fixes #11956.

* du: spell-check: ignore `replacen`

Matches the directive in `src/uu/numfmt/src/format.rs` for the same
helper introduced by #11941.
2026-05-20 10:38:12 +02:00
xtqqczzeandDaniel Hofstetter 471c68dae9 feat(sum): use larger buffer in bsd_sum and sysv_sum 2026-05-20 10:20:53 +02:00
oech3andDaniel Hofstetter 83b09a4b6b pipes.rs: simplify trait and match 2026-05-20 09:21:08 +02:00
renovate[bot]andDaniel Hofstetter 547a4902dc chore(deps): update rust crate digest to v0.11.3 2026-05-19 17:37:12 +02:00
yor1xdandDaniel Hofstetter 1878270413 uucore: upgrade md-5, sha1, sha2, sha3, digest to latest versions 2026-05-19 16:59:06 +02:00
xtqqczzeandDaniel Hofstetter 57135cb9bd refactor: replace rustix::pipe with std::io::pipe 2026-05-19 16:11:49 +02:00
oech3andDaniel Hofstetter f28d8280d3 wc: reduce some nest 2026-05-19 15:08:53 +02:00
xtqqczzeandDaniel Hofstetter af3e2cfe9e ci: update macOS job features in code quality workflow 2026-05-19 15:00:14 +02:00
oech3andGitHub 2a8ce671b0 od, uucore: Allow reusing RawReader (#12385) 2026-05-19 14:47:21 +02:00
xtqqczzeandDaniel Hofstetter 4da1068154 cargo: move SELinux dependency to target-specific section 2026-05-19 11:19:55 +02:00
xtqqczzeandDaniel Hofstetter 7449705a98 fix(tests): refine feature checks for SELinux 2026-05-19 11:19:55 +02:00
xtqqczzeandDaniel Hofstetter fb8e4b1612 fix: correct feature flag name for SELinux context test 2026-05-19 11:19:55 +02:00
xtqqczzeandDaniel Hofstetter 85a817566f build: exclude chcon and runcon from util_map for non-Linux targets 2026-05-19 10:44:02 +02:00
oech3andDaniel Hofstetter 7cd4bbeee2 tests_tail.rs: remove nix 2026-05-19 10:33:29 +02:00