Commit Graph
19088 Commits
Author SHA1 Message Date
Sylvestre Ledru b8018aebd1 sort: add collation key arena storage to LineData
Add collation_key_buffer (arena) and collation_key_ends (offsets) to
LineData and RecycledChunk, with a collation_key() accessor. All sort
keys for a chunk are stored in a single Vec<u8> to avoid millions of
small heap allocations.
2026-04-15 09:28:12 +02:00
Daniel HofstetterandSylvestre Ledru 07d6f27f32 uucore: enable "process" feature of rustix 2026-04-14 23:01:00 +02:00
oech3andSylvestre Ledru 1f45676f59 cp: improve throughput with pipe input 2026-04-14 22:57:33 +02:00
oech3andSylvestre Ledru 970688834a cat: replace copy_exact() with write_all 2026-04-14 22:57:02 +02:00
xtqqczzeandSylvestre Ledru 6f939edb72 fix: replace apt with apt-get in scripts
fix warning:

```
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
```
2026-04-14 22:56:39 +02:00
Daniel HofstetterandSylvestre Ledru 9db3c1b032 du: remove unnecessary impl of code() 2026-04-14 22:56:19 +02:00
oech3andSylvestre Ledru 0a9fc3e44c fmt: remove unwrap() 2026-04-14 22:52:51 +02:00
Sylvestre Ledru 6b044bb0d5 ls: fix link-count column inflating per ACL file
The `+1` accounting for the ACL/context indicator was applied once per
item inside the padding loop, so N files with ACLs inflated the
link-count column width by N. Apply it a single time after the loop.

Fixes #10980
2026-04-14 22:15:23 +02:00
Sylvestre Ledru 874efa7cc3 mv: preserve ownership (uid/gid) on cross-device moves (#9714) 2026-04-14 22:13:47 +02:00
Sylvestre Ledru cc8785e0ae mv: add tests for cross-device move ownership preservation (#9714) 2026-04-14 22:13:47 +02:00
renovate[bot]andDaniel Hofstetter 05466bb30a chore(deps): update rust crate rayon to v1.12.0 2026-04-14 09:48:04 +02:00
renovate[bot]andDaniel Hofstetter c00d63ba8b chore(deps): update rust crate clap_complete to v4.6.2 2026-04-14 07:45:34 +02:00
xtqqczzeandSylvestre Ledru 44aff6bb27 CI/GnuComment: add safeguards 2026-04-13 12:45:09 +02:00
Daniel HofstetterandSylvestre Ledru 36db2e62ca du: fix error from needless_borrow lint on FreeBSD 2026-04-13 10:44:13 +02:00
xtqqczzeandSylvestre Ledru bd0ace3ac4 Make sure we still update the comment with if there was no change in test status 2026-04-13 10:43:48 +02:00
xtqqczzeandSylvestre Ledru 0d35d36b52 CI/GnuComment: enhance PR commenting logic to update existing comments 2026-04-13 10:43:48 +02:00
Sylvestre LedruandDaniel Hofstetter 7bf7fff762 date: replace regex with hand-written format spec parser 2026-04-13 10:24:24 +02:00
Sylvestre LedruandDaniel Hofstetter 4fa689af89 tests/cut: ignore stdin write error on fast-exit delimiter test
test_single_quote_pair_as_delimiter_is_invalid is intermittent on
i686: the parent writes "a''b\n" to cut's stdin while cut validates
args and exits immediately with "delimiter must be a single
character". On a fast child exit, the kernel closes the pipe
read-end before the parent's write() runs, so write() returns
EPIPE and the pipe_in thread panics.

The race is inherent: draining stdin in cut before exiting on an
arg error would hang on terminals and read unbounded data from
long pipes, contradicting GNU behavior. Use the test framework's
ignore_stdin_write_error() flag, which exists for exactly this
"parent writes to child that exits fast" pattern.
2026-04-13 09:04:28 +02:00
xtqqczzeandDaniel Hofstetter 000237189a deps: remove unused rust crate fluent-bundle 2026-04-13 08:59:19 +02:00
renovate[bot]andDaniel Hofstetter 66a7f8b190 chore(deps): update rust crate ctor to 0.10.0 2026-04-13 08:11:50 +02:00
Kevin BurkeandSylvestre Ledru b17025b663 tee: add short-read regression test
Upstream commit 9f50c8b42 ("tee: fix input with sleep") already
contains the functional fix for short reads from a paused writer.
Keep the regression coverage so we do not reintroduce the bug.

The test writes one small chunk, waits long enough for a buggy tee to
exit, then writes a second chunk and asserts both stdout and the output
file receive both writes.
2026-04-13 07:37:50 +02:00
Sylvestre LedruandGitHub b08e880c1b Add "tests/basenc/bounded-memory" in the ignore list 2026-04-12 18:03:42 +02:00
oech3andSylvestre Ledru bfdf580f0e cat: do not splice() on FUSE 2026-04-12 16:33:58 +02:00
oech3andSylvestre Ledru efd0f0cd10 cat: avoid unnecessary allocation 2026-04-12 16:31:52 +02:00
oech3andSylvestre Ledru 9f50c8b42e tee: fix input with sleep 2026-04-12 16:30:35 +02:00