dependabot[bot]
8f8aa61e6a
build(deps): bump z85 from 3.0.4 to 3.0.5
...
Bumps [z85](https://github.com/decafbad/z85 ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/decafbad/z85/releases )
- [Commits](https://github.com/decafbad/z85/commits )
---
updated-dependencies:
- dependency-name: z85
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 08:13:54 +02:00
Terts Diepraam
a10f234854
uudoc: require a feature to build
...
This is used to not build uudoc by default. See https://github.com/uutils/coreutils/issues/3411
2022-04-25 08:13:28 +02:00
Ryan Zoeller
363a2a5611
Upgrade nix to 0.24.1, ctrlc to 3.2.2
...
Limit nix features, which should help compile times slightly.
Replace usage of deprecated nix functionality with std equivalent.
2022-04-25 08:13:20 +02:00
Sylvestre Ledru
91ccdb6479
Merge pull request #3442 from uutils/revert-3423-remove_trailing_spaces_in_rightmost_column
...
Revert "df: remove trailing spaces in rightmost column"
2022-04-25 08:13:10 +02:00
Sylvestre Ledru
181ebd3996
Revert "df: remove trailing spaces in rightmost column"
2022-04-24 20:39:39 +02:00
Terts Diepraam
96807e4db8
Merge pull request #3441 from cakebaker/ticket_3416
...
df: allow sizes with a suffix for --block-size
2022-04-24 18:25:03 +02:00
Daniel Hofstetter
0f13de4e1a
df: allow sizes with a suffix for --block-size
...
Fixes #3416
2022-04-24 15:37:23 +02:00
Jan Scheer
5331a10a7b
tail: update README
2022-04-24 15:09:28 +02:00
Sylvestre Ledru
ed5bd136d4
Merge pull request #3437 from cakebaker/fix_todo_in_test_df
...
df: simplify get_header() in test_block_size_1024
2022-04-23 19:26:34 +02:00
Daniel Hofstetter
78dc90124e
df: simplify get_header() in test_block_size_1024
2022-04-23 16:56:06 +02:00
Sylvestre Ledru
5088ddc377
Merge pull request #3408 from cakebaker/ticket_3325
...
df: respect -t arg when specific file is provided
2022-04-23 09:24:08 +02:00
Terts Diepraam
a03e9c7d8b
Merge pull request #3432 from cakebaker/remove_unreachable_code
...
df: remove unreachable code
2022-04-23 01:03:06 +02:00
Jan Scheer
6e1e3ac012
Merge branch 'main' into tail_notify
2022-04-23 00:26:59 +02:00
Jan Scheer
ceb2e993c0
tail: update readmes
2022-04-23 00:26:22 +02:00
Terts Diepraam
0324be1f17
Merge pull request #3436 from cakebaker/fix_use_of_undeclared_crate_nix
...
Add "nix" to Cargo.toml to fix compile error
2022-04-22 22:45:59 +02:00
Daniel Hofstetter
88c2b445e5
Add "nix" to Cargo.toml
2022-04-22 17:17:17 +02:00
Sylvestre Ledru
48a521224e
Merge pull request #3396 from jtracey/android2
...
fix Android support
2022-04-22 16:06:12 +02:00
Daniel Hofstetter
2d4552cce4
df: respect -t arg when specific file is provided
...
Fixes #3325
2022-04-22 10:27:25 +02:00
Jan Scheer
132cab15d2
tail: update notify crate
...
notify-crate:
Switch from latest release to latest commit on main branch
in order to fix the builds on FreeBSD/macOS.
https://github.com/notify-rs/notify/pull/399
2022-04-22 09:54:21 +02:00
Jan Scheer
6c096267bf
Merge branch 'main' into tail_notify
2022-04-21 23:55:54 +02:00
Jan Scheer
4a56d2916d
tail: fix handling of -f
with non regular files
...
This makes uu_tail pass the "gnu/tests/tail-2/inotify-only-regular" test
again by adding support for charater devices.
test_tail:
* add test_follow_inotify_only_regular
* add clippy fixes for windows
2022-04-21 22:52:17 +02:00
Sylvestre Ledru
4ea443bf42
Merge pull request #3407 from uutils/dependabot/cargo/crossterm-0.23.2
...
build(deps): bump crossterm from 0.23.1 to 0.23.2
2022-04-21 21:32:51 +02:00
Sylvestre Ledru
f684162e21
Merge pull request #3403 from uutils/dependabot/cargo/remove_dir_all-0.7.0
...
build(deps): bump remove_dir_all from 0.5.3 to 0.7.0
2022-04-21 21:32:23 +02:00
Daniel Hofstetter
8d1e340d80
df: remove unreachable code
2022-04-21 15:24:52 +02:00
Terts Diepraam
e8574ca184
Merge pull request #3418 from cakebaker/ticket_3409
...
df: show error if all types are excluded
2022-04-20 23:51:36 +02:00
Sylvestre Ledru
ddb87d500f
Allow v0.5.3 of remove_all_dir for tempfile
2022-04-20 19:10:20 +02:00
Sylvestre Ledru
4c5f586e33
Allow 0.10.2+wasi-snapshot-preview1 of wasi for getrandom
2022-04-20 19:01:57 +02:00
Sylvestre Ledru
4ed3bbe705
Merge pull request #3423 from cakebaker/remove_trailing_spaces_in_rightmost_column
...
df: remove trailing spaces in rightmost column
2022-04-20 11:42:27 +02:00
Sylvestre Ledru
f6dafbc950
Merge pull request #3429 from cakebaker/ticket_3425
...
df: fix "File" column width for unicode filenames
2022-04-20 10:50:07 +02:00
Justin Tracey
67a01a5d79
preserve LD_PRELOAD in the test env
2022-04-20 08:44:49 +02:00
Justin Tracey
4caeb2ff1d
add Android to CICD
2022-04-20 08:44:49 +02:00
Justin Tracey
1f025c19af
address libc weirdness on 32 bit android
2022-04-20 08:44:49 +02:00
Justin Tracey
2a0d58d060
get android builds to compile and pass tests
2022-04-20 08:44:49 +02:00
Justin Tracey
5e7d58650d
fix null pointer derefs
...
The code for creating a Passwd from the fields of the raw syscall result
assumed that the syscall would return valid C strings in all non-error
cases. This is not true, and at least one platform (Android) will
populate the fields with null pointers where they are not supported.
To fix this and prevent the error from happening again, this commit
changes `cstr2string(ptr)` to check for a null pointer, and return an
`Option<String>`, with `None` being the null pointer case. While
arguably it should be the caller's job to check for a null pointer
before calling (since the safety precondition is that the pointer is to
a valid C string), relying on the type checker to force remembering this
edge case is safer in the long run.
2022-04-20 08:44:49 +02:00
Sylvestre Ledru
45b29d287f
Remove an old comment
...
We have windows stable in the CI:
https://github.com/uutils/coreutils/runs/6082164374?check_suite_focus=true
And no longer Redox:
https://github.com/uutils/coreutils/pull/2550
2022-04-20 08:37:53 +02:00
Jan Scheer
7228902e55
Merge branch 'main' into tail_notify
2022-04-19 22:25:35 +02:00
Jan Scheer
eb21330ade
Merge branch 'main' into tail_notify
2022-04-19 22:14:55 +02:00
Terts Diepraam
cce2eebf98
Merge pull request #3420 from sylvestre/install-verbose
...
install: verbose - list all created directories
2022-04-19 18:56:57 +02:00
Terts Diepraam
68d5a5a9b8
Merge pull request #3424 from sylvestre/coreutils-update2
...
update another ref to coreutils 9.1
2022-04-19 18:48:56 +02:00
Sylvestre Ledru
bfaf7616e2
Improve the GNU doc when a test uses $fail
2022-04-19 17:20:37 +02:00
Daniel Hofstetter
9de407b1f0
df: fix "File" column width for unicode filenames
...
Fixes #3425
2022-04-19 11:09:46 +02:00
Daniel Hofstetter
cc4b28780b
df: show error if all types are excluded
...
Fixes #3409
2022-04-19 09:10:37 +02:00
Daniel Hofstetter
576ec49fa5
df: remove trailing spaces in rightmost column
2022-04-19 08:13:35 +02:00
Sylvestre Ledru
346902e30b
Merge pull request #3428 from cakebaker/fix_test_df_output_overridden
...
df: fix broken "test_df_output_overridden" test
2022-04-19 08:06:39 +02:00
Daniel Hofstetter
0d7f99a21f
df: fix broken "test_df_output_overridden" test
2022-04-19 07:46:00 +02:00
Sylvestre Ledru
d7cf3e7483
Merge pull request #3414 from gmnsii/main
...
df: -h -H shouldn't cause an error #3366
2022-04-18 22:24:36 +02:00
Sylvestre Ledru
7910eca71b
install: verbose - list all created directories
...
$ install -Dv source_file1 sub3/a/b/c/file
install: creating directory 'sub3'
install: creating directory 'sub3/a'
install: creating directory 'sub3/a/b'
install: creating directory 'sub3/a/b/c'
'source_file1' -> 'sub3/a/b/c/file'
2022-04-18 22:06:02 +02:00
Sylvestre Ledru
ee50f408bd
Merge pull request #3419 from sylvestre/install-strip
...
install: When install --strip-program=foor fails, remove the target file
2022-04-18 19:29:26 +02:00
Sylvestre Ledru
b93fb8de70
update another ref to coreutils 9.1
2022-04-18 14:56:11 +02:00
Terts Diepraam
ae24ca45f1
Merge pull request #3386 from cakebaker/ticket_3194
...
df: fix incorrect whitespace between columns
2022-04-18 11:13:33 +02:00