Sylvestre Ledru
8c7940260b
Merge pull request #6047 from cakebaker/bump_chrono
...
Bump chrono to 0.4.35 & replace usage of deprecated functions
2024-03-10 07:51:50 +01:00
Ben Wiederhake
8be5f7a89d
chcon: allow repeated flags and arguments
2024-03-09 22:52:55 +01:00
Ben Wiederhake
dbfd4d80ee
chcon: allow overriding between --dereference and --no-dereference
2024-03-09 22:52:55 +01:00
Ben Wiederhake
b233569b9c
shuf: fix error message text on negative-sized ranges
...
Found by @cakebaker:
https://github.com/uutils/coreutils/pull/6011#discussion_r1501838317
2024-03-09 22:51:13 +01:00
Ben Wiederhake
4ee3f68e6a
shuf: fix and test off-by-one errors around ranges
2024-03-09 22:51:13 +01:00
Ben Wiederhake
9cbe6055fa
tr: stream output instead of buffering
...
This should lower memory consumption, and fixes OOM in some scenarios.
2024-03-09 22:51:04 +01:00
Sylvestre Ledru
6c29ed037b
Merge pull request #6042 from BenWiederhake/dev-chown-preserve-root
...
chown+chgrp+chmod: Fix handling of preserve root flag and error messages
2024-03-09 22:44:59 +01:00
Sylvestre Ledru
991d71856f
Merge pull request #6043 from cre4ture/fix/flaky_split_round_robin_limited_fds
...
Fix/flaky `split` round robin limited fds
2024-03-09 22:43:41 +01:00
Sylvestre Ledru
dcfb03aad6
Fix clippy warnings
2024-03-09 22:31:33 +01:00
mhead
1819cdee3b
dd: treat arg as bytes if it contains 'B'
2024-03-10 01:38:50 +05:30
Daniel Hofstetter
b34d410ade
Merge pull request #6049 from uutils/renovate/softprops-action-gh-release-2.x
...
chore(deps): update softprops/action-gh-release action to v2
2024-03-09 07:11:28 +01:00
renovate[bot]
cd010add8c
chore(deps): update softprops/action-gh-release action to v2
2024-03-08 22:30:33 +00:00
Ulrich Hornung
db142f9449
use std::command::pre_exec() to set limits on child before exec
2024-03-08 20:30:34 +01:00
Ulrich Hornung
dab02d005d
split: close as much fds as needed for opening new one
2024-03-07 23:49:27 +01:00
Ben Wiederhake
d25d994125
uucore: drop unused function resolve_relative_path
...
This function is by necessity ill-defined: Depending on the context,
'..' is either the logical parent directory, sometimes the physical
parent directory. This function can only work for the latter case,
in which case `Path::canonicalize` is often a better approach.
2024-03-07 14:58:02 +01:00
Ben Wiederhake
5c2c38c31e
chgrp+chown: also trigger preserve-root during dirwalking, fix error message
...
This is explicitly tested in the GNU tests.
2024-03-07 14:58:02 +01:00
Ben Wiederhake
bf5d7f786b
chmod: slightly adjust error message when preserve-root is triggered
...
One of the GNU tests checks for the exact error message.
2024-03-07 14:49:41 +01:00
Daniel Hofstetter
aad8f7d8b5
touch: replace use of deprecated chrono functions
2024-03-06 18:16:49 +01:00
Daniel Hofstetter
c45c00eed4
ls: use chrono::TimeDelta::try_seconds instead of
...
deprecated chrono::TimeDelta::seconds
2024-03-06 17:51:19 +01:00
Daniel Hofstetter
a1c14fb550
Bump chrono from 0.4.34 to 0.4.35
2024-03-06 17:48:46 +01:00
Ulrich Hornung
294c9de3ae
extend error message for case when writer instanciation fails second time
2024-03-05 20:43:25 +01:00
Sylvestre Ledru
b3fd711c99
Merge pull request #6045 from cakebaker/bump_mio
...
Bump mio from 0.8.10 to 0.8.11
2024-03-05 07:47:16 +01:00
Daniel Hofstetter
837bc9493a
Bump mio from 0.8.10 to 0.8.11
2024-03-05 07:10:59 +01:00
Daniel Hofstetter
4d66af2f53
Merge pull request #6034 from BenWiederhake/dev-cat-flags-everything
...
cat: Handle all flags correctly
2024-03-04 10:57:55 +01:00
Daniel Hofstetter
679b9e2c0a
cat: prefix two test fns with "test_"
2024-03-04 09:41:09 +01:00
Terts Diepraam
80bc8a7101
Merge pull request #6044 from cakebaker/fix_tests_common_utils
...
tests/common/util.rs: add `cfg(feature = "env")`
2024-03-03 23:23:00 +01:00
Daniel Hofstetter
d651063de3
tests/common/util.rs: add cfg(feature = "env")
2024-03-03 15:02:19 +01:00
Daniel Hofstetter
a8ad6275ae
Merge pull request #6038 from uutils/renovate/walkdir-2.x
...
chore(deps): update rust crate walkdir to 2.5
2024-03-02 07:12:29 +01:00
Ben Wiederhake
cd70d7dec1
cat: ignore -u flag, just like GNU does
2024-03-01 23:56:30 +01:00
Ben Wiederhake
472b56f0ff
cat: fix -b and -n anti-symmetry
2024-03-01 23:56:30 +01:00
Ben Wiederhake
100a48fda9
cat: permit repeating command-line flags
2024-03-01 23:56:30 +01:00
renovate[bot]
0a84ec2054
chore(deps): update rust crate walkdir to 2.5
2024-03-01 18:54:09 +00:00
Sylvestre Ledru
118a65a5e0
Merge pull request #5938 from cakebaker/ci_codecov_token
...
ci: use codecov token in CICD/GnuTests workflows
2024-03-01 18:13:53 +01:00
Sylvestre Ledru
9003e3fbe4
Merge pull request #5869 from cre4ture/feature/simulate_terminal_utility
...
test utilities: easy way to simulate terminal context
2024-03-01 18:13:27 +01:00
Daniel Hofstetter
09048a34b5
Merge pull request #6020 from BenWiederhake/dev-cp-flaky-arg_interactive_update
...
cp: fix flaky test test_cp_arg_interactive_update, document adjacent bug
2024-03-01 14:24:48 +01:00
Ben Wiederhake
ba1c6b0044
cp: fix flaky test test_cp_arg_interactive_update, document adjacent bug
2024-03-01 11:41:22 +01:00
Daniel Hofstetter
41f809de98
Merge pull request #6032 from RenjiSann/feature/printf-0c-error
...
printf: '%0c' and '%0s' should fail
2024-03-01 09:25:33 +01:00
Dorian Péron
7094ff17cf
printf: Raise error on '%0c' and '%0s' formats
2024-03-01 00:15:58 +01:00
Dorian Péron
58ee0ce427
tests/printf: Verify the correct error behavior of printf when provided with '%0c' or '%0s'
2024-03-01 00:02:31 +01:00
Daniel Hofstetter
75b2bfb111
Merge pull request #6028 from RenjiSann/feature/printf-byte
...
printf: Make printf operate on bytes instead of strings
2024-02-29 16:17:16 +01:00
Daniel Hofstetter
5d359783a0
uucore/format: add padlen to spell-checker:ignore
2024-02-29 15:27:11 +01:00
Dorian Péron
42cde767d2
printf: Change get_char and write_padded to handle bytes instead of chars
2024-02-29 00:59:08 +01:00
Dorian Péron
5d74a6e002
tests/printf: Fix char_as_byte test, add char and string padding tests
2024-02-29 00:43:47 +01:00
Daniel Hofstetter
18c9da349c
Merge pull request #6027 from rex4539/clippy
...
cargo: fix feature = "cargo-clippy" deprecation
2024-02-28 14:39:51 +01:00
Dimitris Apostolou
8fcce6e2a5
cargo: fix feature = "cargo-clippy" deprecation
2024-02-28 14:51:23 +02:00
Sylvestre Ledru
372cd52e1b
Merge pull request #5993 from cre4ture/fix/workaround_for_textfile_busy_error
...
Android CI: workaround: run builds with retry
2024-02-28 09:41:46 +01:00
Sylvestre Ledru
769c5ca7a5
Merge pull request #6000 from BenWiederhake/dev-pipein-fails-flake
...
tests: Harden two tests, prevent 4 flaky tests (cat, numfmt, sort, split, tee)
2024-02-28 09:41:00 +01:00
Daniel Hofstetter
bd6fc2baba
Merge pull request #6026 from uutils/renovate/rayon-1.x
...
chore(deps): update rust crate rayon to 1.9
2024-02-28 07:09:06 +01:00
renovate[bot]
716581ef77
chore(deps): update rust crate rayon to 1.9
2024-02-28 00:29:29 +00:00
Daniel Hofstetter
aa0d15d1ac
Merge pull request #6011 from BenWiederhake/dev-shuf-repeat-zero-items
...
shuf: Refuse repeating zero lines
2024-02-27 15:28:06 +01:00