Daniel Hofstetter
836e5d19c4
Merge pull request #9770 from RenjiSann/checksum-improvements
...
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
CheckScripts / ShellScript/Check (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CheckScripts / ShellScript/Format (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
checksum: Improve check-only flags handling
2025-12-22 15:58:11 +01:00
Dorian Peron
74f12d5d3b
cksum: remove unneeded hex dependency
2025-12-22 14:41:41 +01:00
Christopher Dryden
0fbc17c2dd
clap_localization: return error instead of calling exit() for fuzzer compatibility
2025-12-22 14:14:09 +01:00
Sylvestre Ledru
6df86206a8
date: handle unknown options gracefully
2025-12-22 14:14:09 +01:00
Sylvestre Ledru
055ba74126
date: allow extra operand
2025-12-22 14:14:09 +01:00
Dorian Péron
0bfbbc00c7
Fix printenv non-UTF8 ( #9728 )
...
* printenv: Handle invalid UTF-8 encoding in variables
* test(printenv): Add test for non-UTF8 content in variable
2025-12-22 14:12:38 +01:00
Dorian Peron
d96ae60d21
checksum: Unify the handling of check-only flags
2025-12-22 11:16:14 +01:00
Daniel Hofstetter
87ba3afd19
Merge pull request #9317 from sylvestre/shred-passes
...
shred: ensure deterministic pass sequence compatibility with reference implementation
2025-12-22 11:14:39 +01:00
oech3
2b67abe741
hashsum: Drop --no-names ( #9762 )
...
Co-authored-by: oech3 <>
2025-12-22 10:17:28 +01:00
Kornél Csernai
eed7a0aca7
parser: add binary support to determine_number_system and parse_size ( #9659 )
...
* parser: add binary support to determine_number_system and parse_size
* docs
* tests
* tests: threshold
2025-12-22 09:24:44 +01:00
Daniel Hofstetter
79f09a62f0
Merge pull request #9695 from RenjiSann/checksum-ignore-binary
...
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Checksum ignore binary
2025-12-21 16:14:24 +01:00
Daniel Hofstetter
7c7f1fc47c
Merge pull request #9727 from sylvestre/dup
...
Consolidate legacy argument parsing for head/tail
2025-12-21 15:32:52 +01:00
Mahdi Ali-Raihan
7da2a2dd8b
cat: do not connect to unix domain socket and instead return an error ( #9755 )
...
* cat: do not connect to unix domain socket and instead return an error. fixed #9751
* added empty line to fr-FR.ftl
* made NoSuchDeviceOrAddress error unix specific
2025-12-21 14:54:38 +01:00
RustyJack
939ab037a2
uucore: use --suffix to enable backup mode ( #9741 )
2025-12-21 10:17:35 +01:00
Sylvestre Ledru
ac487dee94
Consolidate legacy argument parsing for head/tail
2025-12-21 10:04:09 +01:00
David
1fca82965d
dd: should terminate with error if skip argument is too large ( #7275 )
...
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
fixed clippy warning
2025-12-20 19:04:12 +01:00
Daniel Hofstetter
ebaae2e2d5
Merge pull request #9726 from ChrisDryden/env-non-utf8
...
env: preserve non-UTF-8 environment variables and remove unwrap
2025-12-20 16:38:45 +01:00
Dorian Peron
34c41dfc6b
checksum: drop "text" checksum computation on windows
2025-12-20 15:38:04 +01:00
Sylvestre Ledru
2e3a1adb25
shred: use RefCell to eliminate mut from random source handling
2025-12-20 11:23:53 +01:00
Sylvestre Ledru
dd21d7f6dd
shred: ensure deterministic pass sequence compatibility with reference implementation
...
should fix tests/shred/shred-passes.sh
2025-12-20 11:18:28 +01:00
mattsu
ccd4bbdc8f
fix(sort): GNU sort-continue.sh test ( #9107 )
...
* feat: dynamically adjust merge batch size based on file descriptor limits
- Add `effective_merge_batch_size()` function to calculate batch size considering fd soft limit, with minimums and safety margins.
- Generalize fd limit handling from Linux-only to Unix systems using `fd_soft_limit()`.
- Update merge logic to use dynamic batch size instead of fixed `settings.merge_batch_size` to prevent fd exhaustion.
* fix(sort): update rlimit fetching to use fd_soft_limit with error handling
Replace direct call to get_rlimit()? with fd_soft_limit(), adding a check for None value to return a usage error if rlimit cannot be fetched. This improves robustness on Linux by ensuring proper error handling when retrieving the file descriptor soft limit.
* refactor(sort): restrict nix::libc and fd_soft_limit to Linux
Update conditional compilation attributes from #[cfg(unix)] to #[cfg(target_os = "linux")]
for the nix::libc import and fd_soft_limit function implementations, ensuring these
features are only enabled on Linux systems to improve portability and avoid issues
on other Unix-like platforms.
* refactor: improve thread management and replace unsafe libc calls
Replace unsafe libc::getrlimit calls in fd_soft_limit with safe nix crate usage.
Update Rayon thread configuration to use ThreadPoolBuilder instead of environment variables for better control.
Add documentation comment to effective_merge_batch_size function for clarity.
* refactor(linux): improve error handling in fd_soft_limit function
Extract the rlimit fetching logic into a separate `get_rlimit` function that returns `UResult<usize>` and properly handles errors with `UUsageError`, instead of silently returning `None` on failure or infinity. This provides better error reporting for resource limit issues on Linux platforms.
* refactor(sort): reorder imports in get_rlimit for consistency
Reordered the nix::sys::resource imports to group constants first (RLIM_INFINITY), then types (Resource), and finally functions (getrlimit), improving code readability and adhering to import style guidelines.
2025-12-20 09:35:53 +01:00
mattsu
3de941179a
base(nc|32|64): Optimize performances reduction memset ( #9632 )
...
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
CheckScripts / ShellScript/Check (push) Waiting to run
CheckScripts / ShellScript/Format (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* perf(base32): optimize read buffer allocation in fast encode/decode
Refactor buffer creation from zero-initialized vectors to pre-allocated Vec with_capacity,
using unsafe set_len to avoid unnecessary zeroing, improving performance without affecting
correctness, as only initialized bytes from Read::read are accessed.
* refactor: use MaybeUninit for safer buffer handling in base32 encode/decode
Replaced manual unsafe `set_len` calls and direct reads into uninitialized vectors with `MaybeUninit::slice_assume_init_mut` to prevent potential memory safety issues and improve code reliability in `fast_encode` and `fast_decode` modules. Added buffer clearing to ensure proper reuse.
* refactor(base32): replace MaybeUninit::slice_assume_init_mut with slice::from_raw_parts_mut
Replace unsafe usage of `MaybeUninit::slice_assume_init_mut` with `slice::from_raw_parts_mut` in the fast_encode and fast_decode modules for reading data into the spare capacity of buffers. This change maintains safety guarantees through updated comments while potentially improving code clarity and performance by avoiding MaybeUninit initialization assumptions. The modification ensures the buffer's uninitialized tail is correctly handled as raw bytes during I/O operations.
* refactor(base32): reorder std imports in base_common.rs for consistency
Moved the `slice` import from after `collections::VecDeque` to after `num::NonZeroUsize` to better align with the module's import grouping style.
* refactor(base32): remove unsafe buffer handling in encode/decode
Replace unsafe spare_capacity_mut and from_raw_parts_mut usage with safe Vec initialization and direct read calls in fast_encode and fast_decode. This eliminates potential safety risks while preserving buffer functionality.
* perf(base32): optimize input handling by switching to BufRead for efficient buffering
Switch from unbuffered Read to BufRead in get_input, handle_input, and fast_encode_stream functions. This reduces syscalls by leveraging buffered reads, improving performance for base32 encoding/decoding operations. Refactor fast_encode_stream to use fill_buf() and manage leftover buffers more efficiently.
2025-12-19 22:25:50 +01:00
Christopher Dryden
5d4abd88e9
env: preserve non-UTF-8 environment variables
2025-12-19 16:09:57 -05:00
Sylvestre Ledru
645b1058a3
Merge pull request #9720 from sylvestre/locale-date
...
locale.rs: move more code outside of the unsafe block
2025-12-19 22:09:01 +01:00
Jean-Christian-Cirstea
fe97933313
truncate: eliminate duplicate stat() syscall ( #9527 )
2025-12-19 22:01:01 +01:00
Sylvestre Ledru
17755d06fb
locale.rs: move more code outside of the unsafe block
...
and refactor a few things
2025-12-19 17:41:17 +01:00
Cả thế giới là Rust
16f73503b3
feat(date): add locale-aware hour format detection ( #9654 )
...
Implement locale-aware 12-hour vs 24-hour time formatting that respects
LC_TIME environment variable preferences, matching GNU coreutils 9.9 behavior.
- Add locale.rs module with nl_langinfo() FFI for POSIX locale queries
- Detect locale hour format preference (12-hour vs 24-hour)
- Use OnceLock caching for performance (99% faster on repeated calls)
- Update default format to use locale-aware formatting
- Add integration tests for C and en_US locales
Fixes compatibility with GNU coreutils date-locale-hour.sh test.
2025-12-19 17:05:31 +01:00
Daniel Hofstetter
2d3aebce67
Merge pull request #9700 from sylvestre/issue-9699
...
kill -1 should trigger an error
2025-12-19 09:32:07 +01:00
nirv
64478acdbf
date: fix inconsistent input parsing between -s and -d flags ( #9690 )
...
Add allow_hyphen_values(true) to -s flag to accept hyphen-prefixed values like '-3 days', making it consistent with -d flag behavior and GNU coreutils compatibility.
Fixes #9679
2025-12-19 08:48:08 +01:00
Daniel Hofstetter
15d51c8804
Merge pull request #9693 from sylvestre/printf
...
printf: Format String Parsing Overflow Causes Panic
2025-12-19 08:33:58 +01:00
Sylvestre Ledru
cae94028af
kill -1 should trigger an error
...
https://github.com/uutils/coreutils/issues/9699
2025-12-18 21:49:09 +01:00
Sylvestre Ledru
45f81bbae2
Merge pull request #9694 from xtqqczze/get_rlimit
...
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
sort: remove unsafe
2025-12-18 18:43:51 +01:00
Sylvestre Ledru
0b63ffca5c
printf: Format String Parsing Overflow Causes Panic
...
Closes: https://github.com/uutils/coreutils/issues/9697
2025-12-18 18:30:21 +01:00
Chris Dryden
b4b08e9596
nohup: use POSIXLY_CORRECT to determine failure exit code ( #9685 )
...
* nohup: use POSIXLY_CORRECT to determine failure exit code
* Update env value checking
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
---------
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-12-18 18:29:55 +01:00
xtqqczze
955fcc7a52
sort: remove unsafe
2025-12-18 13:44:52 +00:00
Sylvestre Ledru
adaaa3fb30
Merge pull request #9687 from xtqqczze/lint/as_ptr
...
CICD / Dependencies (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
clippy: fix ptr lints
2025-12-18 10:07:20 +01:00
xtqqczze
59cd5ab011
date: remove unsafe
2025-12-18 02:39:43 +00:00
xtqqczze
cf1f618a7b
clippy: fix ptr_cast_constness lint
...
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_cast_constness
2025-12-18 00:19:14 +00:00
xtqqczze
70fd10d335
clippy: fix ptr_as_ptr lint
...
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr
2025-12-18 00:19:14 +00:00
xtqqczze
c9268934c0
clippy: fix borrow_as_ptr lint
...
https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
2025-12-18 00:19:14 +00:00
xtqqczze
2000af835a
clippy: fix map_unwrap_or lint ( #9678 )
...
CICD / Separate Builds (push) Waiting to run
CICD / Build/stable (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
2025-12-17 08:24:04 +01:00
Daniel Hofstetter
6b23e6f321
Merge pull request #9673 from ChrisDryden/fix-nl-preserve-bytes
...
nl: preserve raw bytes in output instead of using from_utf8_lossy
2025-12-16 15:22:29 +01:00
Christopher Dryden
93c8d5439b
nl: preserve raw bytes in output instead of using from_utf8_lossy
2025-12-16 13:04:18 +00:00
Daniel Hofstetter
ae3c51ff60
Merge pull request #9670 from sylvestre/id-unwrap
...
id -p crashes with panic when the real GID doesn't exist in /etc/group
2025-12-16 09:48:27 +01:00
Sylvestre Ledru
5c72d87e94
id -p crashes with panic when the real GID doesn't exist in /etc/group
...
hard to reproduce in an automated test
but here are the steps:
* edit /etc/passwd
* change one group id by another (non existing)
* run "id -p <user>"
2025-12-16 08:07:07 +01:00
karanabe
06d843fe19
Add legacy +POS/-POS handling in sort to pass GNU sort-field-limit test ( #9501 )
...
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* sort: add legacy +POS/-POS parsing for GNU compat
Support GNU’s obsolescent +POS1 [-POS2] syntax by translating it to -k
before clap parses args, gated by _POSIX2_VERSION. Adds tests for accept
and reject cases to ensure sort-field-limit GNU test passes.
* sort: align legacy key tests with GNU field limit
* sort: rename legacy max-field test for clarity
* Simplify legacy key parsing inputs
* Inline legacy key end serialization
* Use starts_with for legacy arg digit check
2025-12-15 09:59:56 +01:00
Daniel Hofstetter
8ec02e7ebc
Merge pull request #9603 from RenjiSann/fix-hardware-detection
...
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Fix hardware capabilities detection; cksum --debug
2025-12-12 16:06:06 +01:00
Dorian Peron
231a857c5f
Fix hardware capabilities detection; cksum --debug
2025-12-12 14:51:50 +01:00
oech3
47084a341a
lib.rs: Remove non GNU hashsum aliases
2025-12-12 18:33:58 +09:00
Chris Dryden
a7e4e91fb1
base32, base64, basenc: Simplifying the base encoding uu_app and adding basic buffer tests ( #9409 )
...
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Build/SELinux-Stubs (Non-Linux) (push) Blocked by required conditions
CICD / Safe Traversal Security Check (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Benchmarks / Run benchmarks (CodSpeed) (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
OpenBSD / Style and Lint (push) Waiting to run
OpenBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* Simplifying the base encoding uu_app and adding basic buffer tests
* Added an ignore for the spell checker on base encoding output
2025-12-12 09:43:38 +01:00