Sylvestre Ledru
e7f33f533b
Merge pull request #7776 from karlmcdowall/od_7666
...
od: fix for issue #7666
2025-04-19 12:03:00 +02:00
Sylvestre Ledru
c76467896a
Merge pull request #7770 from karlmcdowall/yes_splice
...
yes: Remove usage of vmsplice
2025-04-19 11:41:17 +02:00
jfinkels
3965bc5b9e
Merge pull request #7775 from jfinkels/cp-make-fifo-uucore
...
cp: factor make_fifo() function out to uucore::fs
2025-04-19 11:40:29 +02:00
siddharthteli12
5a02e74e8b
whoami: remove unused libc dependency
2025-04-19 13:52:41 +05:30
Daniel Hofstetter
74e353dec0
Merge pull request #7783 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.37
2025-04-19 07:03:23 +02:00
Karl McDowall
b692fad45d
od: Ensure stdin is left in the correct state
...
Fixes issue #7666
For `od` utility, if client specifies `-N` maximum bytes to be read
then ensure stdin is left pointing to the next byte when `od` exits.
To do this...
- Bypass standard buffering on stdin.
- Instantiate BufReader further up the stack to maintain performance.
2025-04-18 21:14:29 -06:00
Dan Hipschman
814e82ea4e
env: ignore flags after the command or -- argument
2025-04-18 18:48:37 -07:00
renovate[bot]
7292ab97fa
chore(deps): update rust crate clap to v4.5.37
2025-04-18 19:51:00 +00:00
Daniel Hofstetter
50a3940797
Merge pull request #7764 from BenWiederhake/dev-du-demo-working-features
...
du: test existing correct behavior: warn about --inodes -b conflict
2025-04-18 16:56:10 +02:00
Ben Wiederhake
d6e78d738d
du: test existing correct behavior: warn about --inodes -b conflict
2025-04-18 16:21:24 +02:00
Sylvestre Ledru
0f061dee68
Merge pull request #7779 from cakebaker/ci_lint_selinux
...
ci: lint with selinux
2025-04-18 14:36:27 +02:00
Lukas
d59ac4912c
csplit: removed unnecesary implementation of From<io::Error> ( #7778 )
2025-04-18 14:28:13 +02:00
Daniel Hofstetter
3210638168
ls,stat: fix single_char_pattern in tests
2025-04-18 13:52:47 +02:00
Daniel Hofstetter
0309ccd28b
selinux: fix empty_line_after_doc_comments
2025-04-18 13:47:31 +02:00
Daniel Hofstetter
5e929577a8
ci: lint with selinux
2025-04-18 13:19:18 +02:00
Sylvestre Ledru
38ef20c385
Merge pull request #7777 from Qelxiros/7678-parsing-tests
...
add tests against '0 in sleep/timeout durations
2025-04-18 10:02:40 +02:00
Daniel Hofstetter
6cccd340f7
Merge pull request #7774 from jfinkels/mv-refactor-into-helpers
...
mv: factor rename_with_fallback function into helpers
2025-04-18 09:45:03 +02:00
Daniel Hofstetter
6ea58ea0aa
Merge pull request #7768 from sylvestre/ls-selinux
...
ls: add selinux support
2025-04-18 09:07:10 +02:00
Justin Tracey
42d06f9ddb
printf: fix OsString handling
2025-04-18 00:39:21 -04:00
Sylvestre Ledru
af577e7a14
printf: support for extract chars
...
Should fix tests/printf/printf-mb.sh
2025-04-18 00:39:13 -04:00
Sylvestre Ledru
79cb095636
printf: support for invalid utf-8 page
2025-04-18 00:39:05 -04:00
Sylvestre Ledru
e5980d4d2a
printf: simplify and dedup some tests
2025-04-18 00:38:57 -04:00
Sylvestre Ledru
8ff0db1db9
printf: Improve support for printing multi-byte values of characters
2025-04-18 00:38:48 -04:00
Jeremy Smart
5bcc56add5
sleep: add tests
2025-04-17 21:42:38 -04:00
Jeremy Smart
8cfffecd5f
timeout: add tests
2025-04-17 21:32:58 -04:00
Jeffrey Finkelstein
3b2db58a78
mv: factor rename_with_fallback func into helpers
...
Factor out helper functions from the `rename_with_fallback()` function
so that there is one fallback helper per file type (symlink, directory,
or file). This doesn't change the functionality of `mv`, it is just a
re-organization of the code.
2025-04-17 20:36:56 -04:00
Terts Diepraam
d99b7b31a6
Merge pull request #7740 from Ecordonnier/eco/enable-utmpx-for-musl
...
enable utmpx feature for musl
2025-04-17 22:46:23 +02:00
Aaron Ang
da351d242f
more: keep only screen lines in mem ( #7680 )
...
* more: keep only screen lines in memory
* more tests: allow clippy warning for builder method
2025-04-17 22:44:41 +02:00
Sergei Patiakin
4190fe22ef
fix: df: filter filesystem types after mount point resolution ( #7452 )
...
Closes : #6194
2025-04-17 22:06:20 +02:00
Sylvestre Ledru
d68e288602
Merge pull request #7773 from cakebaker/deny_toml_remove_zerocopy_from_skip_list
...
deny.toml: remove `zerocopy` from skip list
2025-04-17 20:03:06 +02:00
Daniel Hofstetter
5c894e40a5
deny.toml: fix incorrect comment
2025-04-17 18:47:24 +02:00
Daniel Hofstetter
49be8821fd
deny.toml: remove zerocopy from skip list
2025-04-17 18:45:17 +02:00
Daniel Hofstetter
152ee3a3ad
Merge pull request #7772 from uutils/renovate/rand-0.x-lockfile
...
fix(deps): update rust crate rand to v0.9.1
2025-04-17 18:41:24 +02:00
Sylvestre Ledru
cb419b4f77
ls: use the uucore functions
2025-04-17 18:27:56 +02:00
Sylvestre Ledru
4651a58b82
ls: add selinux support
2025-04-17 18:27:54 +02:00
renovate[bot]
61d940765b
fix(deps): update rust crate rand to v0.9.1
2025-04-17 15:59:49 +00:00
Sylvestre Ledru
785ae3c954
Merge pull request #7767 from cakebaker/bump_bincode
...
Bump `bincode` & adapt test code to API changes
2025-04-17 17:58:39 +02:00
Leo Emar-Kar
538355fb67
ls: add -T support and fix --classify output ( #7616 )
...
* add -T option parsing
* add usage of tab_size in display_grid
* fix test_ls_columns with \t
since this behavior is on by default
* update test_tabsize_formatting
* use grid DEFAULT_SEPARATOR_SIZE
* update Tabs
* fix test with column width
* fix cspell
* fix linter warning on match bool
* add comment for 0 tab_size
* update tabsize test with -C
* update one of the tabs tests to use -x
* remove comment and split tests for both x/C args
2025-04-17 14:29:22 +02:00
Sylvestre Ledru
8487e12057
Merge pull request #7771 from cakebaker/selinux_fix_check_selinux_enabled
...
selinux: rename `check_selinux_enabled()`
2025-04-17 10:58:55 +02:00
Daniel Hofstetter
42782d6053
selinux: rename check_selinux_enabled()
...
to is_selinux_enabled() and change return type to bool
2025-04-17 10:18:31 +02:00
Karl McDowall
d1f84cdc41
Remove usage of vmsplice from yes
...
Addresses issue #7625
Remove the usage of vmsplice from `yes` utility since it can cause
errors.
2025-04-16 16:40:10 -06:00
Dorian Péron
349e56897c
Merge pull request #7694 from drinkcat/printf-fix-empty
...
uucore: parser: num_parser: Return error if no digit has been parsed
uucore: parser: num_parser: Ignore empty exponents
uucore: parser: num_parser: Parse "0x"/"0b" as PartialMatch
2025-04-16 23:32:39 +02:00
Daniel Hofstetter
219e87d57c
Merge pull request #7752 from sylvestre/stat-C
...
stat: add support for selinux
2025-04-16 11:06:36 +02:00
Daniel Hofstetter
8590f51f85
uptime: adapt test to API changes in bincode
2025-04-16 11:02:52 +02:00
Daniel Hofstetter
e263ff3167
Bump bincode from 1.3.3 to 2.0.1
2025-04-16 10:21:42 +02:00
Sylvestre Ledru
c7d39dded6
stat: add support for selinux
2025-04-16 10:21:37 +02:00
Sylvestre Ledru
8220f061ef
selinux: add function get_selinux_security_context to uucore
...
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-04-16 10:21:31 +02:00
Daniel Hofstetter
b78c343f21
Merge pull request #7766 from uutils/renovate/proc-macro2-1.x-lockfile
...
fix(deps): update rust crate proc-macro2 to v1.0.95
2025-04-16 10:14:35 +02:00
renovate[bot]
6151b8cc05
fix(deps): update rust crate proc-macro2 to v1.0.95
2025-04-16 07:32:52 +00:00
Nicolas Boichat
fce9f79618
tests: printf: Add more cases around 0, missing digits, etc.
2025-04-15 20:59:35 +02:00