Sylvestre Ledru
cbf42189a2
Merge pull request #5757 from cakebaker/cp_show_same_file_error
...
cp: show error if source and destination are same file
2023-12-31 17:05:30 +01:00
Daniel Hofstetter
5673f32c63
cp: show error if source & dest are same file
2023-12-31 16:01:34 +01:00
Daniel Hofstetter
902a128ea8
cp: rename function
...
is_forbidden_copy_to_same_file -> is_forbidden_to_copy_to_same_file
2023-12-31 14:36:18 +01:00
Daniel Hofstetter
2c42623b6e
cp: backup dest symlink linking to source
2023-12-31 14:09:08 +01:00
Daniel Hofstetter
89fd26c9db
Merge pull request #5756 from sylvestre/gnu-rebuilt
...
GNU: Improve the built
2023-12-31 14:00:05 +01:00
Daniel Hofstetter
ed111320dd
Merge pull request #5755 from sylvestre/syntax
...
rm: improve the code a tiny bit
2023-12-31 13:35:25 +01:00
Sylvestre Ledru
3560ec6811
gnu-built: disable some options in the GNU build
2023-12-31 13:08:23 +01:00
Sylvestre Ledru
f23902ff7a
gnu-built: remove the useless sed
...
It will avoid a rebuilding when doing:
bash util/build-gnu.sh && bash util/run-gnu-test.sh ../gnu/tests/rm/empty-inacc.sh
2023-12-31 13:08:14 +01:00
Sylvestre Ledru
b07ea957d3
rm: improve the code a tiny bit
2023-12-31 12:03:42 +01:00
Daniel Hofstetter
5cbf6c2059
Merge pull request #5750 from sylvestre/disable-freebsd
...
cp: Disable a test failing on freebsd
2023-12-31 10:39:22 +01:00
Sylvestre Ledru
5fc01f718a
Merge pull request #5747 from Ato2207/fix_docs
...
Fix docs issues.
2023-12-30 19:28:54 +01:00
Sylvestre Ledru
193bcf86b7
cp: Disable a test failing on freebsd
2023-12-30 17:00:44 +01:00
Daniel Hofstetter
8fe1b2619c
Merge pull request #5749 from DitherWither/main
...
cksum: Add --length argument for the blake2b algorithm
2023-12-30 16:46:41 +01:00
Vardhan Patil
d990021572
cksum: remove redundant guard
2023-12-30 20:39:09 +05:30
Vardhan Patil
1fc6a760f3
tests/cksum: fix formatting
2023-12-30 20:31:52 +05:30
Vardhan Patil
e7cb4e9ff0
cksum: properly handle cases where --lenghth is 0 or >512
2023-12-30 20:28:03 +05:30
Vardhan Patil
e1863ac64e
tests/cksum: test when the --length argument is 0 or >512
2023-12-30 20:14:30 +05:30
Atomei Alexandru
5ade45f8e9
Merge branch 'main' into fix_docs
2023-12-30 15:43:54 +02:00
Vardhan Patil
aec0cfa6e3
cksum: remove commented code
2023-12-30 16:05:20 +05:30
Vardhan Patil
7caa0bcdea
cksum: fix formatting in cksum.rs
2023-12-30 16:02:10 +05:30
Vardhan Patil
09ef150085
tests/cksum: add tests for the length argument
2023-12-30 16:01:22 +05:30
Vardhan Patil
037073d852
cksum: make the output formatting match GNU
2023-12-30 15:59:29 +05:30
Sylvestre Ledru
138b11efbd
remove extra spaces
2023-12-30 09:53:32 +01:00
Vardhan Patil
231987b109
cksum: create initial implementation of the --length option
2023-12-30 12:48:19 +05:30
Matei Mantu
21d09dd404
ls: unquoted names should be indented with a space if there is a quoted name ( #5740 )
...
* ls: change indentation when file names include quotes to match GNU's
* display_grid: Changed order of parameters because it made more sense
* ls -l: Add padding for unquoted filenames
* Fix checking for quoted filenames
* Simplify if
2023-12-29 15:19:26 +01:00
Sylvestre Ledru
448e4c2224
Merge pull request #5745 from cakebaker/cp_adapt_warning
...
cp: adapt warning if source is used more than once
2023-12-29 15:09:24 +01:00
Alexandru-Constantin Atomei
d15981650a
Fixed one typo
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
1e5244765d
Made one more modification to test usage string.
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
e61318413e
Added documentation for the vdir command.
2023-12-29 15:08:50 +01:00
Alexandru-Constantin Atomei
ce28ae5c02
Fixed more and test docs
2023-12-29 15:08:50 +01:00
Sylvestre Ledru
f8f82774c3
Merge pull request #5696 from dvalere/my-conts
...
src: Fixing typos in signatures for the argument parser
2023-12-29 15:08:39 +01:00
Daniel Hofstetter
7025619325
cp: adapt warning if source is used more than once
2023-12-29 10:24:08 +01:00
Daniel Hofstetter
91080b152f
Merge pull request #5743 from sylvestre/gnu
...
ls/gnu: ignore the libcap check
2023-12-29 08:15:36 +01:00
Daniel Hofstetter
d0baa8657e
Merge pull request #5744 from uutils/renovate/bstr-1.x
...
chore(deps): update rust crate bstr to 1.9
2023-12-29 06:52:24 +01:00
renovate[bot]
0ce73e1b02
chore(deps): update rust crate bstr to 1.9
2023-12-28 23:03:37 +00:00
Sylvestre Ledru
55de78037d
ls/gnu: ignore the libcap check
2023-12-28 23:21:44 +01:00
Sylvestre Ledru
8c49f4731a
Merge pull request #5742 from cakebaker/clippy_fixes
...
clippy: fix warnings introduced by Rust 1.75
2023-12-28 18:40:50 +01:00
Daniel Hofstetter
9bb725cefc
clippy: fix warnings introduced by Rust 1.75
2023-12-28 18:17:06 +01:00
Daniel Hofstetter
76fedf60ce
Merge pull request #5735 from sylvestre/install-root
...
install: Manages permissions when run as root
2023-12-28 17:24:59 +01:00
Daniel Hofstetter
47be57caa6
Merge pull request #5741 from uutils/renovate/xattr-1.x
...
chore(deps): update rust crate xattr to 1.2.0
2023-12-28 16:42:52 +01:00
Sylvestre Ledru
d82ee771aa
install: Add a test to cover recent changes
2023-12-28 16:34:09 +01:00
renovate[bot]
efa7f8b4f7
chore(deps): update rust crate xattr to 1.2.0
2023-12-28 15:03:19 +00:00
Sylvestre Ledru
2c0f15be55
install: if run as root, revert the uid & gid to root
2023-12-28 10:06:13 +01:00
Sylvestre Ledru
0fb3ffb8ad
install: document the need_copy function
2023-12-28 10:05:44 +01:00
Sylvestre Ledru
c0206c5ea4
install: document the need_copy function
2023-12-28 10:05:28 +01:00
Sylvestre Ledru
ce18f8a2a1
install: split the need_copy check
2023-12-28 10:03:42 +01:00
Daniel Hofstetter
179f0a7c3c
Merge pull request #5733 from sylvestre/getegid_geteuid
...
use our getegid & geteuid wrappers function instead of libc calls
2023-12-28 08:49:34 +01:00
Sylvestre Ledru
ad16313c59
head: -c allocate memory as needed ( #5704 )
...
* head: -c allocate memory as needed
Improve the execution of tests/head/head-c.sh
* simplify the code
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-28 07:15:01 +01:00
Sylvestre Ledru
4e9dbe3aa4
Merge pull request #5734 from sylvestre/improv-skip
...
dd/chroot: improve the skip message (not root)
2023-12-28 01:04:00 +01:00
Sylvestre Ledru
764ea34c37
dd/chroot: improve the skip message (not root)
2023-12-28 00:44:19 +01:00