xtqqczze
b0bb693fc2
docs: update clippy section in DEVELOPMENT.md
...
- update command to include `--workspace`, matching `pre-commit`
- remove outdated paragraph about `msrv`
2026-05-23 16:47:57 +02:00
oech3
3af25aecf4
yes: fix confusing 1.. and comment
2026-05-23 16:37:17 +02:00
oech3
dddf0a349e
pipes.rs: avoid usage of bool
2026-05-23 15:31:24 +02:00
oech3
4f9a39b355
pipes.rs: remove fcntl overhead from splice_unbounded ( #12422 )
2026-05-23 10:13:43 +02:00
renovate[bot]
8e4c21be01
chore(deps): update rust crate divan to v4.7.0
2026-05-23 07:08:37 +02:00
oech3
02768bceb5
pipes.rs: simplify by io::copy & doc the case it cannot be used
2026-05-22 19:07:51 +02:00
oech3
58dae46ab8
uucore::pipes::splice_exact: improve document
2026-05-22 19:07:28 +02:00
Daniel Hofstetter
bd908f012e
deny.toml: remove two crates from skip list
...
cpufeatures and block-buffer
Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com >
2026-05-21 10:06:57 +02:00
oech3
3a4c2f692d
cat: remove splice.rs
2026-05-21 09:46:54 +02:00
xtqqczze
24e3d0d39e
fix(selinux): add missing os checks
2026-05-21 09:13:41 +02:00
oech3
a20214d07d
pipes.rs: simplify dev_null & remove crate name from comment
2026-05-21 08:51:05 +02:00
xtqqczze
157bbabd5c
deps: remove unnecessary package fields
2026-05-20 18:54:02 +02:00
xtqqczze
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 Tonneslan
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
oech3
8a271f57b4
yes: avoid ambiguous PAGE_SIZE
2026-05-20 18:49:47 +02:00
Victor Prokhorov
f33bfb9321
chroot: resolve all ids before chroot
2026-05-20 18:49:32 +02:00
oech3
968f938484
tail: improve throughput for -c N file
2026-05-20 18:48:42 +02:00
oech3
ef5155aa5c
yes: don't mix buffered write and zero-copy
2026-05-20 18:46:11 +02:00
oech3
34c3d43861
wc: remove splice_exact
2026-05-20 18:45:01 +02:00
oech3
a2d29c0216
dd: fix OOM panic with skip=1
2026-05-20 17:14:07 +02:00
oech3
aa9332b473
buf_copy/linux.rs: drop unused trait
2026-05-20 17:13:23 +02:00
wuyangfan
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 Akman
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
xtqqczze
471c68dae9
feat(sum): use larger buffer in bsd_sum and sysv_sum
2026-05-20 10:20:53 +02:00
oech3
83b09a4b6b
pipes.rs: simplify trait and match
2026-05-20 09:21:08 +02:00