renovate[bot]
90f2ad522a
chore(deps): update rust crate thiserror to v1.0.65
2024-10-22 19:24:36 +00:00
renovate[bot]
ab2f5d2ee1
chore(deps): update rust crate serde to v1.0.213
2024-10-22 19:24:31 +00:00
Pistonight
ca6d0eda3d
hashsum: Windows: check in binary mode by default and allow --binary/--text whcn checking
2024-10-22 11:55:49 -07:00
Daniel Hofstetter
c4160f2dd7
Merge pull request #6801 from Luv-Ray/cksum_error_handling
...
cksum: fix error handling
2024-10-22 16:35:36 +02:00
Daniel Hofstetter
13df9e2f30
echo: remove double negation
2024-10-22 15:04:16 +02:00
Daniel Hofstetter
b0fa702e90
echo: remove unnecessary no_stderr() call in test
2024-10-22 14:32:20 +02:00
Luv-Ray
d5cc3dd8ee
cksum: fix error handling
2024-10-22 20:20:18 +08:00
Andrew Liebenow
66f11c4ce4
echo: handle multibyte escape sequences ( #6803 )
...
* echo: handle multibyte escape sequences
Bug was reported, with root cause analysis, by kkew3
Added tests were derived from test cases provided by kkew3
See https://github.com/uutils/coreutils/issues/6741
* Use concrete type
* Fix MSRV issue
* Fix non-UTF-8 argument handling
* Fix MSRV issue
* Fix Clippy violation
* Fix compiler warning
* Address PR comments
* Add MSRV TODO comments
* echo: use stdout_only_bytes instead of stdout_is_bytes
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-10-22 11:03:08 +02:00
Daniel Hofstetter
99fa11ac5c
Merge pull request #6809 from uutils/renovate/serde-monorepo
...
chore(deps): update rust crate serde to v1.0.211
2024-10-22 09:59:19 +02:00
renovate[bot]
77d329018e
chore(deps): update rust crate serde to v1.0.211
2024-10-22 07:31:33 +00:00
Sylvestre Ledru
8e6bf6aa4a
Merge pull request #6807 from andrewliebenow/printf-fix-arguments-in-help
...
printf: remove unused argument name from help
2024-10-21 23:32:38 +02:00
Andrew Liebenow
d70990e0cc
printf: remove unused argument name from help
...
printf --help is currently listing three usage forms:
```
Usage: coreutils printf FORMATSTRING [ARGUMENT]...
coreutils printf FORMAT [ARGUMENT]...
coreutils printf OPTION
```
But there are only two usage forms, since there is no difference
between "FORMAT" and "FORMATSTRING".
Remove references to "FORMATSTRING", and use "FORMAT" in all places
where "FORMATSTRING" appeared, since other implementations of
`printf` use the argument name "FORMAT".
2024-10-21 10:36:31 -05:00
Sylvestre Ledru
3f694faa2e
Merge pull request #6802 from andrewliebenow/mkdir-empty-argument-fix
...
mkdir: emit error when path is empty
2024-10-20 18:44:33 +02:00
Andrew Liebenow
80b63931a4
mkdir: emit error when path is empty
2024-10-20 10:45:46 -05:00
Sylvestre Ledru
5b881a0766
Merge pull request #6790 from sgvictorino/require-mkdir-rmdir-args
...
mkdir/rmdir: require arguments
2024-10-20 17:15:25 +02:00
Sylvestre Ledru
7589db53c1
Merge pull request #6795 from andrewliebenow/fuzz-compare-against-lc-all-c
...
fuzz: run GNU Core Utilities with LC_ALL=C
2024-10-20 17:14:55 +02:00
Sylvestre Ledru
9a6f5521b9
Merge pull request #5968 from anastygnome/tsort
...
tsort refactoring proposal
2024-10-19 21:01:46 +02:00
Sylvestre Ledru
c125a94290
Merge pull request #6800 from andrewliebenow/documentation-fix-crate-name
...
documentation: fix crate name in README
2024-10-19 19:28:13 +02:00
Andrew Liebenow
75895ce4d4
documentation: fix crate name in README
2024-10-19 11:43:38 -05:00
Tom D.
66c3efa0b7
doc(tsort): Add benchmarking documentation
2024-10-19 15:08:06 +02:00
Tom D.
c3b28bf6c7
refactor(tsort): Switch to Knuth algorithm T
...
This commit is a complete rewrite of the tsort util, resulting in a x10 performance improvement
BREAKING CHANGE: the order is no longer the same as gnu tsort in some fringe cases.
2024-10-19 12:07:25 +02:00
Andrew Liebenow
bac29943cb
fuzz: run GNU Core Utilities with LC_ALL=C
2024-10-18 09:33:02 -05:00
Daniel Hofstetter
92e67a5a14
Merge pull request #6782 from RenjiSann/checksum-comment
...
cksum/hashsum: Support for commented lines in checksum files
2024-10-18 13:53:34 +02:00
Dorian Péron
b34730dda3
test(hashsum): add tests for comment in checksum files
2024-10-18 11:58:03 +02:00
Dorian Péron
90d49c9403
test(cksum): add tests for comment in checksum files
2024-10-18 11:57:59 +02:00
Sylvestre Ledru
96470d9614
GNU tests: install attr ( #6784 )
...
* GNU tests: install attr
```
2024-10-16T07:22:20.6386088Z SKIP: tests/misc/xattr
2024-10-16T07:22:20.6386173Z ======================
2024-10-16T07:22:20.6386178Z
2024-10-16T07:22:20.6386369Z ./tests/misc/xattr.sh: line 42: getfattr: command not found
2024-10-16T07:22:20.6386526Z xattr.sh: skipped test: failed to get xattr of file
```
* Also install attr for the GNU code coverage
2024-10-18 11:07:45 +02:00
Daniel Hofstetter
6a354ded14
Merge pull request #6789 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.161
2024-10-18 09:51:04 +02:00
renovate[bot]
035c99c3eb
fix(deps): update rust crate libc to v0.2.161
2024-10-18 07:23:26 +00:00
Solomon Victorino
fe234164f4
rmdir: require argument
2024-10-18 08:30:18 +02:00
Solomon Victorino
6ad07a4fb3
mkdir: require argument
2024-10-18 08:30:18 +02:00
Sylvestre Ledru
93c3d004d7
Merge pull request #6792 from cakebaker/uucore_allow_deprecated
...
uucore: allow use of deprecated `PanicInfo`
2024-10-18 08:29:15 +02:00
Daniel Hofstetter
91687ebbc1
uucore: allow use of deprecated PanicInfo
2024-10-18 07:36:30 +02:00
Daniel Hofstetter
e3b8191926
Merge pull request #6787 from tea/unredox
...
Get rid of redox-specific code
2024-10-17 16:58:43 +02:00
Andrey Turkin
b7819c0731
Get rid of redox-specific code
...
All of the specific functions are covered by relibc
2024-10-17 17:14:42 +03:00
Daniel Hofstetter
b19897fa6c
Merge pull request #6785 from sylvestre/tsort
...
tsort.pl: adjust error message
2024-10-17 10:21:12 +02:00
Daniel Hofstetter
c23acfc819
Merge pull request #6786 from uutils/renovate/libc-0.x-lockfile
...
fix(deps): update rust crate libc to v0.2.160
2024-10-17 09:34:27 +02:00
renovate[bot]
508832c274
fix(deps): update rust crate libc to v0.2.160
2024-10-17 07:07:44 +00:00
Sylvestre Ledru
5baf675b34
tsort.pl: adjust error message
2024-10-17 00:27:52 +02:00
Sylvestre Ledru
ea9ad10644
Merge pull request #6783 from uutils/renovate/proc-macro2-1.x-lockfile
...
fix(deps): update rust crate proc-macro2 to v1.0.88
2024-10-16 19:57:36 +02:00
renovate[bot]
04354db725
fix(deps): update rust crate proc-macro2 to v1.0.88
2024-10-16 16:07:24 +00:00
Dorian Péron
f542bbca68
uucore(checksum): add support for comment lines in checksum verification
2024-10-16 12:27:49 +02:00
Luv-Ray
85b0ef132b
cp: fix symlink-overwrite error-priority ( #6586 )
2024-10-16 08:55:43 +02:00
Daniel Hofstetter
d1becbca22
Merge pull request #6781 from sylvestre/num-prime
...
num-prime => '0.4.4'
2024-10-16 07:25:21 +02:00
Sylvestre Ledru
6028953b7b
num-prime => '0.4.4'
2024-10-15 22:46:44 +02:00
Szabó Attila
1781c3e07d
cp: fix possible OOM and partial write with large files
2024-10-15 21:24:47 +02:00
Sylvestre Ledru
6935a0d67e
Merge pull request #6559 from RenjiSann/renji/fix-6554
...
ls: Fix quoting for dirnames with a colon `:` in recursive mode, and patch the `quote-align` GNU test
2024-10-15 11:44:15 +02:00
mhead
68e724f9a4
patch build-gnu.sh for quote-align
2024-10-15 11:11:23 +02:00
Dorian Péron
758b103c70
test(ls): Add test for #6554
2024-10-15 11:11:23 +02:00
Dorian Péron
2a1558f741
test(quoting_style): Fix tests
2024-10-15 11:11:23 +02:00
Dorian Péron
e292e05f57
ls: Fix quoting for control characters in shell mode
2024-10-15 11:11:23 +02:00