1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 18:21:01 +00:00
Commit graph

15732 commits

Author SHA1 Message Date
Etienne Cordonnier
e1441eff2c GNUMakefile: install libstdbuf
Use external libstdbuf.so when building with make, as embedding the library
is only needed to work around "cargo install" limitations with shared libraries.

Also change default installation directory to /usr/local/libexec/coreutils/ for consistency
with GNU coreutils

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-06-22 23:30:34 +02:00
Sylvestre Ledru
f825409392
Merge pull request #8164 from cakebaker/uptime_improve_uptime_since
uptime: improve readability of `uptime_since`
2025-06-21 19:45:56 +02:00
Sylvestre Ledru
7b3247d80e
Merge pull request #8236 from cakebaker/docs_add_no_utf8_as_extension
docs: add `-U`/`--no-utf8` as extension of `expand`/`unexpand`
2025-06-21 19:44:57 +02:00
Daniel Hofstetter
2c9be39099 docs: add -U/--no-utf8 as extension of (un)expand 2025-06-21 17:23:14 +02:00
Sylvestre Ledru
f314daff25
Merge pull request #8234 from kevinburke/locale
lib/mods/locale: fix locale loading
2025-06-21 10:36:27 +02:00
Kevin Burke
3f94a3e4d7
lib/mods/locale: fix locale loading
I'm not sure exactly why this is happening, but when I install
coreutils with `make install PREFIX=some-prefix`, before this patch
coreutils would look in the wrong place for locales - it would look in
e.g. "bin/cut/en-US.ftl" instead of in share/locales/cut/en-US.ftl.

This patch fixes the issue, add a test as well.

Fixes #8115.
2025-06-20 13:54:23 -07:00
Sylvestre Ledru
34133506ff
Merge pull request #8233 from cakebaker/bump_phf_crates
Bump `phf` and `phf_codegen` & fix compilation errors
2025-06-20 20:00:36 +02:00
Daniel Hofstetter
8391276bb2 build.rs: adapt to changes in phf_codegen 2025-06-20 18:38:43 +02:00
Daniel Hofstetter
9fb8cd2e50 Bump phf & phf_codegen from 0.11.2 to 0.12.1 2025-06-20 17:07:57 +02:00
Timothy G.
d05460a16c
unexpand: add -f short alias for --first-only (#8229) 2025-06-19 21:59:23 +02:00
Daniel Hofstetter
39c793c885
Merge pull request #8221 from willshuttleworth/stty-size
stty: add options to set and print terminal size
2025-06-19 16:59:00 +02:00
Will Shuttleworth
10f8d77560 stty: add option to print terminal size 2025-06-19 08:38:47 -04:00
Will Shuttleworth
93ac655936 stty: add tests for setting rows/cols 2025-06-19 08:38:08 -04:00
Will Shuttleworth
aa58eff8d6 stty: add rows/cols settings 2025-06-19 08:38:01 -04:00
Sylvestre Ledru
e324e2c439
Merge pull request #8226 from cakebaker/bump_selinux_crates
Bump selinux crates
2025-06-19 10:52:47 +02:00
Sylvestre Ledru
dcaef2eb65
Merge pull request #8225 from cakebaker/tee_move_test
tee: move test to `linux_only` module
2025-06-19 10:43:04 +02:00
Daniel Hofstetter
dcbb5936eb Bump selinux crates
selinux from 0.5.1 to 0.5.2, selinux-sys from 0.6.14 to 0.6.15
2025-06-19 10:25:31 +02:00
Sudhakar Verma
c674cf1839
Merge pull request #8217 from sudhackar/ls-fix
ls: follow symlinks for xattrs, fix #8216
2025-06-19 10:17:25 +02:00
Daniel Hofstetter
cccaba63c2 tee: move test to "linux_only" module 2025-06-19 09:42:22 +02:00
Dorian Péron
86f0c617d8
Merge pull request #8218 from Maximkaaa/tee_buffering
tee: remove output buffering
2025-06-19 08:41:01 +02:00
Maxim
e354ddea02 tee: remove output buffering
To comply with POSIX standard `tee` implementation must not buffer
its output, so we replace std::io::copy implementation that does
buffering with the custom one.
2025-06-19 09:28:38 +09:00
Daniel Hofstetter
2ba6c32687
Merge pull request #8219 from Maximkaaa/tee_no_more_writable
tests/tee: enable no_more_writable test
2025-06-18 18:51:33 +02:00
Maxim
1613cdba10 tests/tee: move no_more_writable test to linux_only module 2025-06-19 00:37:26 +09:00
Maxim
7310c7fca1 tests/tee: enable no_more_writable test 2025-06-19 00:35:53 +09:00
Daniel Hofstetter
2451682637
Merge pull request #8205 from sylvestre/l10n-expand
l10n: port expand for translation + add french
2025-06-18 10:51:48 +02:00
Sylvestre Ledru
407d97c68f
Merge pull request #8214 from deadmeu/move-comment
ls: move recent time threshold comment
2025-06-18 10:48:53 +02:00
Daniel Hofstetter
6016a1c0f4
Merge pull request #8206 from sylvestre/l10n-factor
l10n: port factor for translation + add french
2025-06-18 10:42:30 +02:00
Sylvestre Ledru
ba1833d39b
Merge pull request #8104 from Ecordonnier/eco/stdbuf-external
stdbuf: add feat_external_libstdbuf
2025-06-18 10:40:05 +02:00
Daniel Hofstetter
b20706fc0b
Merge pull request #8207 from sylvestre/l10n-hashsum
l10n: port hashsum for translation + add french
2025-06-18 10:36:18 +02:00
deadmeu
573e5d047a
ls: move recent time threshold comment
This value was moved to a dedicated recent_time_threshold field in
c599363242 but its corresponding
explanation comment was not included.
2025-06-18 18:32:39 +10:00
Daniel Hofstetter
9eaaf9c781
Merge pull request #8209 from sylvestre/l10n-printenv
l10n: port printenv for translation + add french
2025-06-18 09:37:47 +02:00
Daniel Hofstetter
4f3d7dad42
Merge pull request #8210 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.174
2025-06-18 07:49:44 +02:00
Sylvestre Ledru
ca720f2d20 l10n: port printenv for translation + add french 2025-06-17 22:53:55 +02:00
renovate[bot]
af90dd4b16
fix(deps): update rust crate libc to v0.2.174 2025-06-17 20:48:17 +00:00
Sylvestre Ledru
c906ced95c l10n: port hashsum for translation + add french 2025-06-17 22:09:47 +02:00
Sylvestre Ledru
f378f081a7 l10n: port factor for translation + add french 2025-06-17 22:02:51 +02:00
Sylvestre Ledru
1de9acc99a l10n: port expand for translation + add french 2025-06-17 21:58:50 +02:00
Sylvestre Ledru
0e564ea5da
Merge pull request #8201 from gabelluardo/fix-clippy-rules
Prepare for clippy pedantic rules
2025-06-17 09:06:10 +02:00
Gabriele Belluardo
35f3975e17
fix(clippy): redundant_else 2025-06-17 00:24:53 +02:00
Gabriele Belluardo
d64fcb1826
fix(clippy): unnested_or_patterns 2025-06-17 00:18:19 +02:00
Gabriele Belluardo
05735887b9
fix(clippy): uninlined_format_args 2025-06-17 00:17:10 +02:00
Gabriele Belluardo
e8b6561d4c
fix(clippy): needless_continue 2025-06-17 00:06:01 +02:00
Gabriele Belluardo
edfcc2b400
fix(clippy): match_wildcard_for_single_variants 2025-06-17 00:02:13 +02:00
Gabriele Belluardo
9319c4f8cf
fix(clippy): manual_string_new 2025-06-17 00:00:22 +02:00
Gabriele Belluardo
2e1c09951e
fix(clippy): manual_let_else 2025-06-16 23:58:19 +02:00
Gabriele Belluardo
4afeb628a4
fix(clippy): inefficient_to_string 2025-06-16 23:56:15 +02:00
Gabriele Belluardo
a7ae477a7e
fix(clippy): if_not_else 2025-06-16 23:32:08 +02:00
Gabriele Belluardo
dc72ad9242
fix(clippy): explicit_iter_loop 2025-06-16 23:22:28 +02:00
Sylvestre Ledru
bcb76aca64
cp: let clap render help & version (#8199)
* cp: let clap render help & version

* cp: use get_many instead of remove_many from clap
2025-06-16 21:40:11 +02:00
Daniel Hofstetter
a6e104fc98 cp: use get_many instead of remove_many from clap 2025-06-16 16:24:32 +02:00