Sylvestre Ledru
cf75720e1c
mv,cp: fix xattr and symlink handling in cross-device operations
2026-03-16 22:52:53 +01:00
Sylvestre Ledru
41cd49fc1b
mv,cp: fix xattr TOCTOU by using file descriptor-based operations
...
Closes : #10014
2026-03-16 22:46:13 +01:00
Sylvestre Ledru
92f1739a25
split: fix I/O error handling for device full conditions
...
Should fix tests/split/split-io-err.sh
2026-03-08 21:46:36 +01:00
oech3
995c9e04a6
date: Remove eprintln! to avoid 2>/dev/full abort ( #11228 )
0.7.0
2026-03-08 13:06:05 +01:00
karanabe
005cf50a1a
kill: fix GNU compatibility tests for RTMIN and RTMAX ( #11224 )
...
* kill: list Linux realtime signals correctly
Add list-specific signal helpers for RTMIN/RTMAX and unnamed
signal numbers, and use them in kill and env range iteration.
Keep send-oriented signal parsing unchanged for signal delivery.
* document low-byte signal decoding in list mode
2026-03-08 09:25:53 +01:00
xtqqczze
f00a050106
clippy: fix nightly lints ( #11232 )
2026-03-08 09:13:23 +01:00
cerdelen
a6b0276966
date: extend tz abbreviation lookup
2026-03-07 16:46:48 +01:00
oech3
59aa4d7bbc
true, false: drop Vec for binary size and perf
2026-03-07 16:07:15 +01:00
oech3
38e2f15c4d
--typo 2>/dev/full does not abort ( #10764 )
2026-03-07 09:58:20 +01:00
oech3
515a10b9f1
sort --compress-program missing 2>/dev/full does not abort ( #10951 )
2026-03-07 09:57:03 +01:00
oech3
5e24462b26
coreutils: Fix 2>/dev/full aborts & drop a sed for GnuTests ( #10740 )
2026-03-07 09:56:35 +01:00
oech3
b47076eade
ls: Use rustc-hash at colors ( #10700 )
2026-03-07 09:56:04 +01:00
oech3
06ac362484
CICD: Drop a duplicated test producing huge caches ( #10513 )
2026-03-07 09:55:33 +01:00
oech3
ab0b026de6
Use MULTICALL=y at toybox test for faster CI ( #10370 )
2026-03-07 09:54:59 +01:00
oech3
3016496e37
numfmt: stop a clone
2026-03-07 08:18:17 +01:00
Dorian Péron
9e26f3c771
Merge pull request #11219 from oech3/shuf-malloc
...
shuf: Reduce malloc, perf +4%
2026-03-07 02:23:58 +01:00
oech3
bb1ede3fa4
shuf: Reduce malloc
2026-03-07 01:26:30 +09:00
Daniel Hofstetter
54cfd30196
clippy: enable struct_field_names lint ( #11214 )
2026-03-06 12:38:07 +01:00
oech3
f0c71b2477
split: Reduce malloc
2026-03-06 10:25:52 +01:00
oech3
1340183cba
cksum: disable a broken benchmark ( #11197 )
2026-03-06 09:41:54 +01:00
Dominykas Vozgirdas
852c6a94b0
tests/tail: reduce delays in multiple tests to speed up execution ( #11206 )
...
Co-authored-by: Dominykas Vozgirdas <dominykas.vozgirdase@gmail.com >
2026-03-06 09:41:25 +01:00
oech3
70e07a3c4b
true, false: Fix broken pipe ( #11204 )
2026-03-06 09:40:53 +01:00
oech3
4a5384e184
true, false: Drop benches less than 1 nano sec ( #11210 )
2026-03-06 09:40:32 +01:00
Sylvestre Ledru
9654e4abaf
mv: preserve symlinks during cross-device moves instead of expanding them
...
closes : #10009
2026-03-05 15:23:36 +01:00
oech3
60b4d1b58f
shuf: try vec first and fallback to HashMap if it cause OOM ( #11169 )
2026-03-05 13:05:30 +01:00
oech3
3136627d52
true, false: Improve perf & fix clippy::unnecessary_wraps - improve performance by ×39 ( #11200 )
2026-03-05 13:01:23 +01:00
oech3
e6f7ad0640
dedup high-cost localization setup - improve perfs for all programs ( #11147 )
2026-03-05 13:00:18 +01:00
Daniel Hofstetter
1f7c81f5d2
touch: fix warnings from useless_conversion lint ( #11203 )
2026-03-05 10:14:13 +01:00
Sylvestre Ledru
1124685d8c
Revert "nohup: Succeed in creating ~/nohup.out for non-UTF8 HOME"
2026-03-05 09:38:56 +01:00
Victor Prokhorov
e6a3bb596f
cp: handle special files ( #11163 )
2026-03-05 00:01:52 +01:00
mattsu
0f2821e75f
paste: avoid unbounded buffering for single input ( #11060 )
2026-03-04 23:54:04 +01:00
oech3
d327ee61ef
Cargo.toml: Define feat_wasm ( #11074 )
2026-03-04 23:52:28 +01:00
oech3
d906b7d85a
mktemp: Don't panic when getrandom failed ( #11154 )
2026-03-04 23:51:39 +01:00
xtqqczze
43555b0257
deps: replace ahash with foldhash ( #11187 )
2026-03-04 23:33:37 +01:00
Sylvestre Ledru
8c06c48623
Fix type conversion error for i386/armel in touch.rs
...
The TimeSpec::new() function expects i32 parameters on 32-bit architectures,
but we were passing i64 values. Add explicit type conversions using
try_into().unwrap() to fix the build on i386 and armel targets.
2026-03-04 23:30:19 +01:00
mattsu
2f26dac61e
fix: Use libc::O_NONBLOCK instead of nix::libc::O_NONBLOCK in touch.rs
...
Replace deprecated nix::libc::O_NONBLOCK with the standard libc::O_NONBLOCK constant to fix compilation warnings and ensure compatibility with the latest nix crate version.
2026-03-04 23:22:17 +01:00
mattsu
e17809d4cc
Remove trailing whitespace from touch.rs test module
...
This commit removes a trailing newline at the end of the test module in src/uu/touch/src/touch.rs to maintain consistent code formatting and eliminate unnecessary whitespace.
2026-03-04 23:22:17 +01:00
mattsu
485b026094
touch: set file times via futimens on a write fd
...
On Unix, try futimens through a write-opened file descriptor to trigger IN_CLOSE_WRITE semantics, and fall back to set_file_times when needed. Also adds a unit test for the futimens path and wires unix-only dependencies.
2026-03-04 23:22:17 +01:00
oech3
e6cd47e8ab
uucore: disable signals at simple utils for binary size and fast startup ( #11186 )
...
some perfs are improved by x4.4
2026-03-04 22:56:03 +01:00
Sylvestre Ledru
97b6e7bfb2
Merge pull request #11194 from cakebaker/cut_two_refactorings
...
cut: two simple refactorings
2026-03-04 20:00:18 +01:00
Sylvestre Ledru
7ac3c520b0
Merge pull request #11195 from Zellic/nohup-non-utf8-home
...
nohup: Succeed in creating ~/nohup.out for non-UTF8 HOME
2026-03-04 19:59:53 +01:00
aweinstock
3edbb2d7f5
nohup: Succeed in creating ~/nohup.out for non-UTF8 HOME
2026-03-04 13:04:05 -05:00
Daniel Hofstetter
73aa0267a8
cut: use map_err instead of match
2026-03-04 16:56:06 +01:00
Daniel Hofstetter
e97da18ff2
cut: remove unnecessary collect
2026-03-04 16:21:49 +01:00
oech3
e4d943bf07
nproc: Minor cleanup
2026-03-04 14:56:41 +01:00
oech3
e9ad8b839c
nproc: Cleanup a const
2026-03-04 11:26:21 +01:00
akervald
9bbb58b746
cut: fix -s flag for newline delimiter and improve performance
...
- Fixed the -s flag incorrectly suppressing output when the delimiter is a newline.
- Improved performance in cut_fields_newline_char_delim.
- Updated tests to match GNU cut behavior for newline delimiters.
2026-03-04 11:05:25 +01:00
Yotam Medini
f52e3e800b
factor: trim also null-chars ( #11182 )
...
* fix bug #11097 : factor: trim also null-chars
* for factor: add test_trim_null_chars
* test_factor: pipe_in instead of pipe_in_fixture
2026-03-04 09:54:17 +01:00
FidelSch
79a076e46a
fix(numfmt): fix escape_line to handle non-printable ASCII bytes in error messages
2026-03-04 09:28:11 +01:00
FidelSch
dd6b88b264
fix(numfmt): format output on error messages
2026-03-04 09:28:11 +01:00