Laurent Cheylus
e1032e1f06
who: tool unsupported on OpenBSD
...
- utmpx not supported on OpenBSD
- add src/uu/who/src/platform directory and platform/mod.rs for conditional compilation according
to target_os
- platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
- platform/unix.rs: implementation on other OS
- src/uu/who/src/who.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
fdd6ecb713
users: tool unsupported on OpenBSD
...
- utmpx not supported on OpenBSD
- add src/uu/users/src/platform directory and platform/mod.rs for conditional compilation
according to target_os
- platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
- platform/unix.rs: implementation on other OS
- src/uu/users/src/users.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
8c6d722916
uptime: tool unsupported on OpenBSD
...
- utmpx not supported on OpenBSD
- add src/uu/uptime/src/platform directory and platform/mod.rs for conditional compilation
according to target_os
- platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
- platform/unix.rs: implementation on other OS
- src/uu/uptime/src/uptime.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
d3e6e7a947
pinky: tool unsupported on OpenBSD
...
- utmpx not supported on OpenBSD
- add src/uu/pinky/src/platform directory and platform/mod.rs for conditional compilation
according to target_os
- platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
- platform/unix.rs: implementation on other OS
- src/uu/pinky/src/pinky.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
e6d12732f5
uucore: disable utmpx feature on OpenBSD
...
- See issue uutils/coreutils#5596 for details
2023-12-11 18:23:35 +01:00
Laurent Cheylus
38ea40d0bf
nohup: fix for OpenBSD with _vprocmgr_detach_from_console function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
94537d3b34
id: fix support for OpenBSD
...
- add target_os cfg for pline function
- add target_os cfg for auditd function (void on OpenBSD)
2023-12-11 18:23:35 +01:00
Laurent Cheylus
d239b2f47b
chroot: add OpenBSD support for set_groups function
2023-12-11 18:23:35 +01:00
Daniel Hofstetter
6711dd5694
ls: make --block-size and --human-readable/--si
...
override each other
2023-12-11 16:38:55 +01:00
Terts Diepraam
181cfc885b
Merge pull request #5634 from cakebaker/ls_use_show_dir_name
...
ls: use show_dir_name to output dir name
2023-12-11 14:38:47 +01:00
Daniel Hofstetter
3dad5d4d56
Merge pull request #5635 from tertsdiepraam/fix-echo-override
...
`echo`: make `-e` and `-E` override each other
2023-12-11 14:21:15 +01:00
Terts Diepraam
f165c8e1fd
fuzz/echo: set should_pass to true
2023-12-11 13:40:55 +01:00
Terts Diepraam
bc5b5e013a
tr: operate on bytes instead of chars
2023-12-11 13:35:17 +01:00
Daniel Hofstetter
9f6eb453fa
Merge pull request #5636 from sylvestre/quick-timeout
...
fuzzing: quick timeout because seq is freezing
2023-12-11 13:16:07 +01:00
Laurent Cheylus
2faab59aa4
tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD
...
- On OpenBSD, test_hostname::test_hostname_ip fails with "failed to lookup address information:
Name does not resolve" error
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-12-11 12:45:16 +01:00
Sylvestre Ledru
9d0c1b3482
fuzzing: quick timeout because seq is freezing
2023-12-11 11:02:50 +01:00
Terts Diepraam
191eb9ac12
echo: make -e and -E override each other
2023-12-11 10:53:55 +01:00
Daniel Hofstetter
3dab2b7390
ls: use show_dir_name to output dir name
2023-12-11 09:33:36 +01:00
Sylvestre Ledru
4442b35370
Merge pull request #5626 from cakebaker/ls_invalid_block_size
...
ls: handle invalid block size as GNU does
2023-12-11 07:49:38 +01:00
Sylvestre Ledru
62afd786f6
Merge pull request #5502 from ids1024/redox
...
Fix build on Redox, and add `stat` to Redox feature
2023-12-11 07:48:43 +01:00
Ian Douglas Scott
db91e12a1d
Fix build on Redox, and add stat
to Redox feature
2023-12-11 04:38:17 -08:00
Daniel Hofstetter
3a9bd60b1c
Merge pull request #5633 from uutils/renovate/libc-0.x
...
chore(deps): update rust crate libc to 0.2.151
2023-12-11 06:47:38 +01:00
Arpit Bhadauria
824371d884
style lint fixes
2023-12-11 02:12:24 +00:00
Arpit Bhadauria
fa0c64ddde
review fixes
2023-12-11 02:05:55 +00:00
Arpit Bhadauria
17f2b830d8
Merge branch 'main' into feat-refactor-expr
2023-12-11 01:19:40 +00:00
renovate[bot]
0491a97a33
chore(deps): update rust crate libc to 0.2.151
2023-12-10 18:51:09 +00:00
Dorian Péron
673093f842
ls: set default quoting style to literal when not TTY ( #5553 )
...
* ls: set default quoting style to literal if output is not TTY
* tests/ls: Fix quoting tests that now run with Literal as default
* ls: Fix formatting/linting/spelling issues
* tests/ls: Fix windows escaped tests
2023-12-10 16:07:41 +01:00
Sylvestre Ledru
7333573361
Merge pull request #5630 from uutils/renovate/vmactions-freebsd-vm-1.x
...
chore(deps): update vmactions/freebsd-vm action to v1.0.5
2023-12-10 10:47:32 +01:00
renovate[bot]
7279fbe91c
chore(deps): update vmactions/freebsd-vm action to v1.0.5
2023-12-10 01:38:33 +00:00
Sylvestre Ledru
0308e015a6
Merge pull request #5603 from sylvestre/gnu-legacy
...
ls: Match the gnu behavior for colors
2023-12-09 17:19:15 +01:00
Sylvestre Ledru
1d4c919b97
Add mdir to the spell ignore
2023-12-09 16:33:19 +01:00
Daniel Hofstetter
286b4dafd5
Merge pull request #5628 from uutils/renovate/xattr-1.x
...
chore(deps): update rust crate xattr to 1.1.1
2023-12-09 14:48:41 +01:00
renovate[bot]
5d8c49ff07
chore(deps): update rust crate xattr to 1.1.1
2023-12-09 12:52:02 +00:00
Sylvestre Ledru
e071286eb0
address review comments
2023-12-09 13:10:41 +01:00
Sylvestre Ledru
268b180416
ls colors: create a stylemanager to carry the previous style to know if we need to reset or not
2023-12-09 13:10:38 +01:00
Sylvestre Ledru
b676216f9b
ls: use the gnu_legacy feature from lscolors
2023-12-09 13:05:12 +01:00
Daniel Hofstetter
e9dc2930ee
ls: handle invalid block size as GNU does
2023-12-08 19:19:51 +01:00
Sylvestre Ledru
355b4872b1
Merge pull request #5625 from cakebaker/du_fix_test_du_no_dereference
...
du: fix issue with dereference in test
2023-12-08 19:19:33 +01:00
Daniel Hofstetter
c111dc88ac
du: fix issue with dereference in test
2023-12-08 10:23:15 +01:00
Daniel Hofstetter
7695fe3fb3
Merge pull request #5623 from tertsdiepraam/du-cleanup
...
`du` cleanup
2023-12-08 08:21:08 +01:00
Terts Diepraam
7861559f88
du: put excludes in traversaloptions and make size_format enum
2023-12-07 22:12:06 +01:00
Sylvestre Ledru
f88209249e
Merge pull request #5612 from zhitkoff/wc-proc
...
wc: pass GNU test wc-proc and Windows optimization
2023-12-07 19:13:46 +01:00
Yury Zhytkou
0076c9f64c
Update src/uu/wc/src/count_fast.rs
...
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-12-07 12:13:34 -05:00
zhitkoff
967c539cc6
wc: more tests
2023-12-07 10:50:55 -05:00
zhitkoff
a97b574fec
wc: comments
2023-12-07 10:50:55 -05:00
zhitkoff
b7f708b233
wc: comments
2023-12-07 10:50:55 -05:00
zhitkoff
54ac5a7e1a
wc: count_fast windows optimization
2023-12-07 10:50:55 -05:00
zhitkoff
9ff7b42d83
wc: stat casting
2023-12-07 10:50:55 -05:00
zhitkoff
9c4d88009d
wc: clippy
2023-12-07 10:50:55 -05:00
zhitkoff
85e78376fe
wc: count_fast seek optimization
2023-12-07 10:50:55 -05:00