Commit Graph

4731 Commits

Author SHA1 Message Date
Nikola Lukovic 31c5102bee cp: fix recursive copy of readonly directories (#10529)
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-07 14:28:24 +01:00
Daniel Hofstetter 2d5c28f344 stdbuf: fix warning from uninlined_format_args (#10784) 2026-02-07 08:07:19 -05:00
Yuri Astrakhan 05204864d6 refactor: inline format! args in a few places (#10730)
* refactor: inline format! args in a few places

* in one spot remove redundant mem alloc

* run clippy fix with mixed
2026-02-07 10:05:44 +01:00
Etienne Cordonnier 181b247531 stdbuf: support libstdbuf in same directory as stdbuf (#10352)
Make stdbuf search for libstdbuf first in the directory where stdbuf is running. This matches GNU coreutils behavior.
Add a symlink to deps/libstdbuf in order to make it easier to run the stdbuf tests with feat_external_stdbuf enabled.

Remove tests which are assuming that libstdbuf is not found. Those tests are now always failing, because the build
directory contains a symlink to deps/libstdbuf and libstdbuf is always found.

Fixes https://github.com/uutils/coreutils/issues/10345

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2026-02-06 23:55:44 +01:00
Christopher Dryden 4ae4902503 date: fix -u flag to match GNU behavior for input parsing 2026-02-05 15:14:13 +01:00
Dorian Péron 9459361524 Merge branch 'main' into hashsum-del-pre 2026-02-05 15:02:12 +01:00
Sylvestre Ledru 5e5968cdbc rm: fix --preserve-root detection for nested symlinks with trailing slash (#9706) 2026-02-05 03:59:12 -08:00
cerdelen 2f0ed95119 du: Flags 'm', 'k', 'm' should be POSIX style overriden (#10664)
* du: Flags 'm', 'k', 'm' should be POSIX style overriden

* du: overwriting b flag doesnt deactivate --apparent-size
2026-02-05 03:41:54 -08:00
✿ Fleur de Blue 01f3e32d16 chore: Enable workspace lints in uutest crate (#10727) 2026-02-05 08:08:39 +01:00
Daniel Hofstetter 2a62df477c clippy: fix "unnecessary qualification" warning (#10728) 2026-02-05 08:06:32 +01:00
Dorian Péron fdb7bd7e50 Merge pull request #7936 from Its-Just-Nans/fix-doc-hashs
fix docs test
2026-02-05 03:01:56 +01:00
NatsuCamellia a47858a74b vdir: make vdir an alias of ls to resolve missing ftl (#10363) (#10434)
Make vdir an alias of ls just as dir is an alias of ls, so vdir can
access the ftl files of ls. Also merged vdir's ftl strings into ls's.
2026-02-04 23:05:38 +01:00
Yuri Astrakhan 2a7f318a1d chore: clippy::unreadable_literal (#10717) 2026-02-04 22:56:45 +01:00
Jeffrey Finkelstein a5aa2a89f7 pr: fix column behavior for short files
Fix a bug where lines of the input file were not correctly distributed
to the columns of the output page if there were fewer lines than the
total number of cells in the output table. For example, before this
commit,

    printf "a\nb\n" | pr -2

would incorrectly produce an output page like this:

    a
    b

After this commit, it produces a more correct output page like this:

    a    b
2026-02-04 22:53:15 +01:00
Jeffrey Finkelstein be0180747c pr: add passing tests for merging files
Add a passing unit tests for `pr` for merging two files.
2026-02-04 22:53:15 +01:00
Aaron Ang c9c78b2415 chore: run pre-commit on all files (#10119) 2026-02-04 22:12:53 +01:00
oech3 4854ba692e tests/misc/coreutils.sh: Fail with invalid binary name (#10258) 2026-02-04 22:11:52 +01:00
Emilia "Milly" Daelman c3eb85f8c8 test/cksum: implement test_signed_checksums (#10714) 2026-02-04 21:45:28 +01:00
Chris Dryden c086d431c1 Merge pull request #10533 from ChrisDryden/refactor-fold-compute-col-count
fold: refactor compute_col_count and add character mode tests
2026-02-04 11:19:50 +01:00
Yuri Astrakhan 3559049c24 chore: a few more Clippy fixes (#10697) 2026-02-04 08:09:47 +01:00
Dorian Péron 0589d2c2c3 Merge pull request #10657 from cerdelen/expand__buffer
expand: remove read_until
2026-02-04 01:51:16 +01:00
Chris Dryden 5df49ac4fd df: fallback when proc masked (#10417) 2026-02-03 22:10:11 +01:00
✿ Fleur de Blue 2a2cafdbd4 Re-enable unused_qualifications lint (#10571) 2026-02-03 21:55:21 +01:00
Cedric Erdelen 0400116af8 expand: use chunking read calls
expand: Edgecase fix

expand: spelling error in comment

expand: use byte literals instead of hex values for better readability
2026-02-03 21:16:34 +01:00
Dorian Péron 1ea01a31d3 *sum: Fix read_byte_lines discarding read errors (#10671)
* *sum: Fix read_byte_lines discarding read errors

* test(*sum): test IOerror handling in checkfile
2026-02-03 21:15:54 +01:00