dependabot[bot]
2213ad5d1c
build(deps): bump libc from 0.2.135 to 0.2.136
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.135 to 0.2.136.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.135...0.2.136 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 23:28:47 +02:00
Sylvestre Ledru
76a0794823
Merge pull request #4072 from jfinkels/clippy-fixes
...
clippy fixes
2022-10-25 23:28:20 +02:00
dependabot[bot]
58caf625d1
build(deps): bump time from 0.3.15 to 0.3.16
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.15...v0.3.16 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 06:51:50 +00:00
Sylvestre Ledru
42fad7c4e5
Merge pull request #4078 from sylvestre/update-i
...
{cp, mv} -i --update source existing should not do anything and exit 0
2022-10-25 08:31:39 +02:00
Sylvestre Ledru
9f1ac221cd
chown: fails when XXXX. or XXXX: is provided (when XXXX is numeric values)
...
If the arg starts with an id numeric value, the group isn't set but the separator is provided,
we should fail with an error
Should fix tests/chown/separator.sh
2022-10-25 08:25:05 +02:00
Pat Laster
9069d4832a
Merge branch 'main' into rm-correct-prompts
2022-10-24 18:36:52 -05:00
Sylvestre Ledru
742c06965b
Merge pull request #4076 from cakebaker/numfmt_neg_6
...
numfmt: handle negative zero values
2022-10-24 21:53:43 +02:00
Sylvestre Ledru
6e8f8034ba
{cp, mv} -i --update source existing should not do anything and exit 0
...
Should fix tests/mv/update.sh
2022-10-24 21:03:30 +02:00
Daniel Hofstetter
dedb6289dd
numfmt: handle negative zero values
2022-10-24 15:13:02 +02:00
Jeffrey Finkelstein
d48a650966
cp: restrict copy through dangling symlink with -f
...
Change `cp` to terminate with an error when attempting to copy through
a dangling symbolic link with the `--force` option. Before this
commit,
touch src
ln -s no-such-file dest
cp -f src dest
would incorrectly replace `dest` with the contents of `src`. After
this commit, it correctly fails with the error message
cp: not writing through dangling symlink 'dest'
2022-10-23 20:17:20 -04:00
Jeffrey Finkelstein
55b3766c10
clippy fixes
2022-10-23 13:56:20 -04:00
Sylvestre Ledru
418518a443
Merge pull request #4070 from orhun/fix/remove_unnecessary_file
...
fix: remove unnecessary out file
2022-10-23 16:10:23 +02:00
Sylvestre Ledru
c766726e8b
Merge pull request #3281 from jfinkels/split-round-robin
...
split: implement round-robin arg to --number
2022-10-23 09:57:01 +02:00
Sylvestre Ledru
e031e5f416
Merge pull request #4071 from jfinkels/cp-parents-dir-2
...
cp: correctly copy ancestor dirs in --parents mode
2022-10-23 09:55:15 +02:00
Jeffrey Finkelstein
ac3fcca6c0
cp: correctly copy ancestor dirs in --parents mode
...
Fix a bug where `cp` failed to copy ancestor directories when using
the `--parents` option. For example, before this commit:
$ mkdir -p a/b/c d
$ cp --parents a/b/c d
$ find d
d
d/c
After this commit
$ mkdir -p a/b/c d
$ cp --parents a/b/c d
$ find d
d
d/a
d/a/b
d/a/b/c
This commit also adds the correct messages for `--verbose` mode:
$ cp -r --parents --verbose a/b/c d
a -> d/a
a/b -> d/a/b
'a/b/c' -> 'd/a/b/c'
Fixes #3332 .
2022-10-23 00:06:56 -04:00
Jeffrey Finkelstein
cd3f7b89a7
cp: make cp -a not fail on Windows
...
Before this commit, `cp -a` would terminate with a non-zero status
code on Windows because there are no extended attributes (xattr) to
copy. However, the GNU documentation for cp states
> Try to preserve SELinux security context and extended attributes
> (xattr), but ignore any failure to do that and print no
> corresponding diagnostic.
so it seems reasonable to do nothing instead of exiting with an error
in this case.
2022-10-23 00:03:26 -04:00
Jeffrey Finkelstein
cee6c25cc4
cp: make test for interactive mode more specific
2022-10-23 00:03:26 -04:00
Jeffrey Finkelstein
7dc96697c9
split: implement round-robin arg to --number
...
Implement distributing lines of a file in a round-robin manner to a
specified number of chunks. For example,
$ (seq 1 10 | split -n r/3) && head -v xa[abc]
==> xaa <==
1
4
7
10
==> xab <==
2
5
8
==> xac <==
3
6
9
2022-10-22 23:15:55 -04:00
Pat Laster
744481c800
Updated handle_writable_directory comment
2022-10-22 18:00:17 -05:00
Pat Laster
99942b4234
Merge branch 'main' into rm-correct-prompts
2022-10-22 14:12:55 -05:00
Orhun Parmaksız
1242acf304
fix: remove unnecessary out file
2022-10-22 22:06:25 +03:00
Orhun Parmaksız
f117f36313
Merge branch 'main' into refactor/add_nix_error_auto_conversion
2022-10-22 20:35:43 +02:00
Orhun Parmaksız
81ea9521ce
fix: conditionally enable nix
error conversions
2022-10-22 21:34:45 +03:00
Orhun Parmaksız
c19c19e4db
docs: add usage example for nix::Errno
conversion
2022-10-22 21:26:33 +03:00
Sylvestre Ledru
bb27734f6a
Merge pull request #4067 from uutils/dependabot/cargo/filetime-0.2.18
...
build(deps): bump filetime from 0.2.17 to 0.2.18
2022-10-22 19:55:44 +02:00
Orhun Parmaksız
990bb4224d
test: add test for nix::Error
conversions
2022-10-22 17:45:40 +03:00
Orhun Parmaksız
df8ba87516
feat: add more implementations for converting nix::Error
2022-10-22 17:20:57 +03:00
Huijeong Kim
02f6fa7b24
hashsum: test b3sum::test_nonames for real ( #4027 )
...
* hashsum: test b3sum::test_nonames for real
Signed-off-by: Huijeong Kim <herehuijeong@gmail.com>
* apply cargo format
Signed-off-by: Huijeong Kim <herehuijeong@gmail.com>
2022-10-22 11:23:39 +02:00
Sylvestre Ledru
1d9ec1ed94
Merge pull request #3927 from niyaznigmatullin/fix_timeout_test_tmp_files_deleted_on_sigint
...
test_sort: Fix timeout issue `test_tmp_files_deleted_on_sigint`
2022-10-22 10:24:30 +02:00
Sylvestre Ledru
fd13ceddcb
Merge branch 'main' into rm-correct-prompts
2022-10-22 10:22:29 +02:00
dependabot[bot]
5696059d51
build(deps): bump filetime from 0.2.17 to 0.2.18
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/alexcrichton/filetime/releases )
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.17...0.2.18 )
---
updated-dependencies:
- dependency-name: filetime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 08:21:48 +00:00
Sylvestre Ledru
e4fe2b10fa
Merge pull request #4014 from tertsdiepraam/ls-windows-permissions
...
`ls`, `stat`: Show more info in long format on Windows
2022-10-22 10:21:43 +02:00
dependabot[bot]
7fd988a7ff
build(deps): bump clap_complete from 4.0.2 to 4.0.3
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.2...clap_complete-v4.0.3 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 08:19:48 +00:00
dependabot[bot]
c6a88c8374
build(deps): bump binary-heap-plus from 0.4.1 to 0.5.0
...
Bumps [binary-heap-plus](https://github.com/sekineh/binary-heap-plus-rs ) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/sekineh/binary-heap-plus-rs/releases )
- [Changelog](https://github.com/sekineh/binary-heap-plus-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sekineh/binary-heap-plus-rs/commits )
---
updated-dependencies:
- dependency-name: binary-heap-plus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 08:19:47 +00:00
Sylvestre Ledru
74624b27f1
Merge branch 'main' into refactor/add_nix_error_auto_conversion
2022-10-22 10:19:09 +02:00
Sylvestre Ledru
5f9e66a2fb
Merge pull request #4064 from dmatos2012/hashsum-process-files-before-exit
...
hashsum: warn on file not found rather than fail
2022-10-22 10:18:05 +02:00
Sylvestre Ledru
7c1d8267c1
Merge pull request #4068 from uutils/dependabot/cargo/clap-4.0.18
...
build(deps): bump clap from 4.0.17 to 4.0.18
2022-10-22 10:17:36 +02:00
dependabot[bot]
2a0ac55f9a
build(deps): bump clap from 4.0.17 to 4.0.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.17 to 4.0.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.17...v4.0.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 06:44:57 +00:00
Pat Laster
5968f53ef4
Fixed merge conflict
2022-10-20 15:42:55 -05:00
Pat Laster
00af775cd9
Merge branch 'main' into rm-correct-prompts
2022-10-20 15:03:37 -05:00
Sylvestre Ledru
ab3994c221
Merge pull request #4065 from niyaznigmatullin/migrate_winapi_windows-sys
...
Migrate from `winapi` to `windows-sys`
2022-10-20 17:22:34 +02:00
Niyaz Nigmatullin
3973e8dd79
deny: add windows-sys
and its subcrates as duplicates
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
0eae0fdb74
whoami: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
f95a14537b
touch: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
580bff02f8
sync: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
5ef1745960
tail: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
ff30cacbe1
date: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
b0b7565ba9
hostname: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
05a224d40e
rm: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00
Niyaz Nigmatullin
c26bf02a04
du: migrate winapi
to windows-sys
crate
2022-10-20 12:16:22 +03:00