1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-10 01:47:46 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
karlmcdowall
f94ff78ea4
head: fix bug reading back through files (#7248)
* head: fix bug reading back through files

Fix issue #7247.
Rework logic for reading/seeking backwards through files.
Bug was seen when reading back through large files.
Added test case to validate fix.
2025-02-03 20:13:46 +01:00
Daniel Hofstetter
93d58b17b4
Merge pull request #7261 from RenjiSann/cksum-6375
cksum: Fix #6375 and un-ignore now passing tests
2025-02-03 14:08:51 +01:00
Dorian Péron
f2cf08b4e6 test(cksum): fix and un-ignore test_md5_bits 2025-02-03 11:06:47 +01:00
Dorian Péron
b8abebfaf9 test(cksum): un-ignore now passing test test_blake2b_tested_with_sha1 2025-02-03 09:58:52 +01:00
Dorian Péron
2fadd253f7 cksum: fix --binary reset (issue #6375) 2025-02-03 09:58:52 +01:00
Sylvestre Ledru
717a6921fc
Merge pull request #7246 from RenjiSann/printf-negative-asterisk
printf: negative asterisk param changes alignment
2025-02-02 23:13:56 +01:00
Sylvestre Ledru
fc4f39c582
Merge pull request #7259 from jfinkels/printf-missing-hex-value
printf: error on missing hexadecial escape value
2025-02-02 22:28:38 +01:00
Jeffrey Finkelstein
db280b6e9f printf: error on missing hexadecial escape value
Change `printf` to correctly terminate with an error message when an
escape sequence starts with `\x` but doesn't include a literal
hexadecimal value after. For example, before this commit,

    printf '\x'

would output `\x`, but after this commit, it terminates with an error
message,

    printf: missing hexadecimal number in escape

Fixes #7097
2025-02-02 11:07:31 -05:00
sreehari prasad
c2505841e0
Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
Dorian Peron
dcc2f1b72c printf: remove unneeded Result<> from resolve_asterisk* functions 2025-01-31 16:54:01 +01:00
Dorian Peron
707e346b84 printf: negative asterisk param changes alignement 2025-01-31 16:50:26 +01:00
Daniel Hofstetter
3891ee1159
Merge pull request #7244 from sylvestre/sleep
Decrease more sleep
2025-01-31 14:52:24 +01:00
Sylvestre Ledru
ba0d54c9af
Merge pull request #7245 from cakebaker/fuzz_update_dependencies
fuzz: update dependencies
2025-01-31 10:36:35 +01:00
Daniel Hofstetter
072d503d80 fuzz: update dependencies 2025-01-31 10:03:32 +01:00
Sylvestre Ledru
8c201c1779 tests/cp: Decrease more sleep 2025-01-31 09:56:47 +01:00
Daniel Hofstetter
a9645af366
Merge pull request #7232 from uutils/seep
tests: Decrease the various sleeps
2025-01-31 09:17:24 +01:00
Sylvestre Ledru
be10ae0cb9
Merge pull request #7242 from cakebaker/bump_rand_crates
Bump `rand` & `rand_core` to `0.9.0`, adapt code to API changes
2025-01-31 08:38:53 +01:00
Sylvestre Ledru
1cd78c7a2b
Merge pull request #7243 from jfinkels/build-reduce-touch-replacements
Remove some replacements of touch in build script
2025-01-31 00:10:14 +01:00
Jeffrey Finkelstein
2cb2f30846 Remove some replacements of touch in build script
Remove some replacements of uutils `touch` for GNU `touch` in the
`util/build-gnu.sh` script, since recent improvements to the
`parse_datetime` have made these replacements unnecessary.
2025-01-30 17:37:04 -05:00
Daniel Hofstetter
9aec9dc454 fuzz: adapt to API changes of rand 2025-01-30 14:41:36 +01:00
Daniel Hofstetter
527602248f shuf: adapt to API changes of rand 2025-01-30 10:39:00 +01:00
Daniel Hofstetter
14ce43fe52 tail: adapt tests to API change of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
46beccd409 factor: adapt tests to API changes of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
410bb30c64 split: adapt tests to API changes of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
7cff766bdc mktemp: adapt to API change of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
ddb027231f shred: adapt to API changes of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
a5fb8f952b sort: adapt to API changes of rand 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
730b404b6e tests/common/random.rs: adapt to rand API changes 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
6235f1cbb9 deny.toml: add some crates to skip list 2025-01-30 08:52:42 +01:00
Daniel Hofstetter
05ae1704ab Bump rand & rand_core to 0.9.0
rand from 0.8.5, rand_core from 0.6.4
2025-01-30 08:52:42 +01:00
Daniel Hofstetter
a862a57fc1
Merge pull request #7240 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.44
2025-01-30 08:39:00 +01:00
renovate[bot]
07715110c3
chore(deps): update rust crate clap_complete to v4.5.44 2025-01-29 17:57:58 +00:00
Daniel Hofstetter
92de53c8fd
Merge pull request #7239 from RenjiSann/printf-excess-args
printf: Show warning message in case of excess arguments
2025-01-29 16:15:15 +01:00
Dorian Peron
ae6cb8fed3 printf: show warning message in case of excess arguments 2025-01-29 14:01:35 +01:00
Sylvestre Ledru
64476fd9da
Merge pull request #7238 from cakebaker/bump_tempfile
Bump `tempfile` & add two crates to the skip list in `deny.toml`
2025-01-29 11:56:49 +01:00
Daniel Hofstetter
3849242ee0 deny.toml: add getrandom & wasi to skip list 2025-01-29 08:33:43 +01:00
Daniel Hofstetter
bcb374be9a Bump tempfile from 3.15.0 to 3.16.0 2025-01-29 08:27:51 +01:00
Daniel Hofstetter
7ba5f94ab0
Merge pull request #7235 from uutils/renovate/indicatif-0.x-lockfile
chore(deps): update rust crate indicatif to v0.17.11
2025-01-29 07:16:37 +01:00
Daniel Hofstetter
5d2eb2a748
Merge pull request #7236 from uutils/renovate/libfuzzer-sys-0.x-lockfile
fix(deps): update rust crate libfuzzer-sys to v0.4.9
2025-01-29 07:15:24 +01:00
renovate[bot]
51ecb7542e
fix(deps): update rust crate libfuzzer-sys to v0.4.9 2025-01-28 18:24:21 +00:00
renovate[bot]
1d7ba4f50f
chore(deps): update rust crate indicatif to v0.17.11 2025-01-28 18:24:15 +00:00
Sylvestre Ledru
dbfdff1107
Merge pull request #7233 from cakebaker/remove_rand_pcg
Remove `rand_pcg`
2025-01-28 12:27:54 +01:00
Daniel Hofstetter
5069e2eaac
Merge pull request #7234 from uutils/renovate/indicatif-0.x-lockfile
chore(deps): update rust crate indicatif to v0.17.10
2025-01-28 10:49:04 +01:00
renovate[bot]
36d075fc00
chore(deps): update rust crate indicatif to v0.17.10 2025-01-28 09:22:40 +00:00
Tommaso Fellegara
1595b6afaa
kill: use only least significant bits to identify signal with -l (#7225)
* kill: check the lower 5 bits when the input is a number

* test/kill: added testcase

* kill: check the last 7 bits

* kill: check only the last 8 bits and the signals in the range [128, 159]

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-01-28 10:21:19 +01:00
Daniel Hofstetter
70d6ac9812 sort: use SmallRng instead of Pcg32 in test 2025-01-28 09:17:06 +01:00
Daniel Hofstetter
019da22964 Remove rand_pcg 2025-01-28 09:12:55 +01:00
Daniel Hofstetter
5e81358c4a
Merge pull request #7228 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.43
2025-01-28 07:21:54 +01:00
Sylvestre Ledru
f00a8c231b tests: Decrease the various sleeps 2025-01-27 22:08:42 +01:00
renovate[bot]
557b92b98a
chore(deps): update rust crate clap_complete to v4.5.43 2025-01-27 17:21:29 +00:00