Commit graph

9592 commits

Author SHA1 Message Date
Sylvestre Ledru
2bcd774358
Merge pull request #4503 from miles170/issue-4341-fix-docs
docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result
2023-03-13 10:45:14 +01:00
Daniel Hofstetter
f53edbe89a Bump fts-sys to 0.2.4 & selinux-sys to 0.6.2 2023-03-13 10:40:13 +01:00
Miles Liu
787ad780c0
docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result 2023-03-13 15:40:01 +08:00
Daniel Hofstetter
d28c4783c6
Merge pull request #4502 from samueltardieu/readme-install-locked
readme: advise using --locked with cargo install
2023-03-13 07:10:43 +01:00
Terts Diepraam
6708284603
Merge pull request #4448 from Joining7943/sleep-replace-uucore-from-str-with-fundu
`sleep`: Replace uucore::parse_time::from_str with fundu
2023-03-12 23:42:23 +01:00
Terts Diepraam
758e4b0958
Merge pull request #4486 from sylvestre/sccache-actions
Use sccache to cache build results
2023-03-12 23:39:46 +01:00
Samuel Tardieu
ffcf2b5d55 readme: advise using --locked with cargo install 2023-03-12 22:01:00 +01:00
Sylvestre Ledru
fa1dbf5583
Merge pull request #4501 from cakebaker/bump_terminal_size_to_0.2.5
Bump terminal_size from 0.2.2 to 0.2.5
2023-03-12 21:57:56 +01:00
Daniel Hofstetter
a585d7f3a7 Bump terminal_size from 0.2.2 to 0.2.5 2023-03-12 16:26:56 +01:00
Sylvestre Ledru
9d287aeacf
Merge pull request #4500 from cakebaker/bump_procfs_to_0.15.1
Bump procfs from 0.14.1 to 0.15.1
2023-03-12 16:14:08 +01:00
Joining7943
5fb091a4fb sleep: Use fundu error types to improve error messages 2023-03-12 15:37:44 +01:00
Joining7943
3a28b616d9 sleep: Use fundu instead of uucore::parse_time::from_str 2023-03-12 15:37:44 +01:00
Joining7943
946aab37ed Cargo: Bump fundu version v0.3.0 -> v0.4.2. Adjust test in test_tail. 2023-03-12 15:37:44 +01:00
Daniel Hofstetter
43ce6c1a7e
Merge pull request #4491 from aiye123/main
relpath: move help strings to markdown file
2023-03-12 14:20:36 +01:00
Daniel Hofstetter
3198fe5417 Bump procfs from 0.14.1 to 0.15.1 2023-03-12 14:08:19 +01:00
Terts Diepraam
7a6092b333
Merge branch 'main' into dd-stdin-from-file-descriptor 2023-03-12 13:56:28 +01:00
Terts Diepraam
320929d83d
Merge branch 'main' into issue-4176-fix-timeout 2023-03-12 13:35:27 +01:00
Terts Diepraam
3982fc58fd
Merge pull request #4478 from cakebaker/bump_clap_to_4.1
Bump clap from 4.0.26 to 4.1.8 & fix broken tests
2023-03-12 13:30:33 +01:00
Sylvestre Ledru
0d03c48f6b Move the declaration at the right place 2023-03-12 11:12:09 +01:00
Sylvestre Ledru
27150a970b Merge the use declarations 2023-03-12 11:12:09 +01:00
shaoyuteng
fcdb7e48ed relpath: move help strings to markdown file 2023-03-12 11:12:09 +01:00
papparapa
e5b6f63305
parser: fix index out of bounds error (#4484)
+ revert 1bc9980 to use files in workspace
2023-03-12 11:07:59 +01:00
Sylvestre Ledru
50a27e0aac
Merge pull request #4497 from cakebaker/bump_rayon_to_1.7
Bump rayon from 1.6.0 to 1.7.0
2023-03-12 11:02:12 +01:00
Sylvestre Ledru
aecc8aa40f keep Swatinem/rust-cache@v2 2023-03-12 11:00:45 +01:00
Sylvestre Ledru
6608a7ea88 Use sccache to cache build results
instead of Swatinem/rust-cache@v2
2023-03-12 11:00:45 +01:00
Sylvestre Ledru
a406b70e57
Merge pull request #4488 from miles170/fix-shred-clippy
shred: fix `permissions_set_readonly_false` clippy error
2023-03-12 11:00:32 +01:00
Jeffrey Finkelstein
9cb6b4a3c0 dd: open stdin from file descriptor when possible
Open stdin using its file descriptor so that a `dd skip=N` command in
a subshell does not consume all bytes from stdin.

For example, before this commit, multiple instances of `dd` reading
from stdin and appearing in a single command line would incorrectly
result in an empty stdin for each instance of `dd` after the first:

    $ printf "abcdef\n" | (dd bs=1 skip=3 count=0 && dd)  2> /dev/null
    # incorrectly results in no output

After this commit, the `dd skip=3` process reads three bytes from the
file descriptor referring to stdin without draining the remaining
three bytes when it terminates:

    $ printf "abcdef\n" | (dd bs=1 skip=3 count=0 && dd)  2> /dev/null
    def
2023-03-11 20:56:37 +00:00
Daniel Hofstetter
d80afe7beb Bump rayon from 1.6.0 to 1.7.0 2023-03-11 15:57:10 +01:00
Miles Liu
b8d9552ef5
shred: fix permissions_set_readonly_false clippy error 2023-03-11 14:45:42 +08:00
Sylvestre Ledru
7c0063ae3e
Merge pull request #4492 from cakebaker/od_fix_details
od: fix some minor details suggested by clippy::pedantic
2023-03-10 16:13:54 +01:00
Daniel Hofstetter
97b51df2bc od: add missing backticks 2023-03-10 15:24:33 +01:00
Daniel Hofstetter
62826143b5 od: regroup constants 2023-03-10 15:07:40 +01:00
Daniel Hofstetter
fa7550cad9 od: expand some wildcard imports 2023-03-10 15:06:07 +01:00
Miles Liu
f406b56f4a
timeout: fix subprocess is never terminated 2023-03-10 18:08:54 +08:00
Sylvestre Ledru
cf68665669
Merge pull request #4389 from sylvestre/fuzzer
Run the date fuzzer in the CI for a few seconds
2023-03-10 00:21:52 +01:00
Sylvestre Ledru
51c3e76abf we have now several fuzzers 2023-03-10 00:21:35 +01:00
Sylvestre Ledru
24e78cb027 add libfuzzer as a word 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
1bc9980d14 use workspaces 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
9dcd3192d2 run all the fuzzer in the CI for XX seconds 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
ef0b177e18 add more fuzzers
Many thanks to Jemma Nelson
@fwip
2023-03-10 00:03:26 +01:00
Sylvestre Ledru
e553a4a21c move the fuzz_date fuzzers 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
234ef07abd Try to fuzz for real 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
69f420cb01 run the fuzzer in the CI for 60 seconds 2023-03-10 00:03:26 +01:00
Sylvestre Ledru
a56e05cf63 add fuzzing for the date function
Work done Rafał Mikrut
2023-03-10 00:03:26 +01:00
Daniel Hofstetter
510cafea8a
Merge pull request #4485 from papparapa/printenv-move-help-strings-to-md-file
printenv: move help strings to markdown file
2023-03-09 17:36:44 +01:00
Koki Ueha
e3d501fca1 printenv: move help strings to markdown file 2023-03-09 14:56:00 +00:00
Sylvestre Ledru
9f8cd4a7eb
Merge pull request #4483 from cakebaker/bump_tempfile_to_3.4.0
Bump tempfile from 3.3.0 to 3.4.0
2023-03-09 12:10:16 +01:00
wuseyu
7598404345
nl: move help strings to a markdown file (#4477) 2023-03-09 10:42:39 +01:00
Daniel Hofstetter
4d3097be36 Bump tempfile from 3.3.0 to 3.4.0 2023-03-09 10:30:35 +01:00
Daniel Hofstetter
3eeb5dda30 tests: adapt to clap's modified error messages 2023-03-09 10:06:20 +01:00