Commit graph

17138 commits

Author SHA1 Message Date
Sylvestre Ledru
ec52cf9ac9
Disable variance-heavy benchmark tests
Comment out benchmarks due to high variance
2025-11-09 09:43:29 +01:00
E
9b9a913d68
Merge pull request #9153 from oech3/nognuhashsumbin
Some checks are pending
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 / 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 / Pre-commit hooks (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
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
WSL2 / Test (push) Waiting to run
hashsum: Remove non-GNU binaries (fix cksum interface divergence #8984)
2025-11-08 23:55:49 +01:00
Mahdi Ali-Raihan
293e9d2b00 factor: use num_prime crate's u64 and u128 factorization methods to speed up the performance of calculating prime numbers for u64 and u128 2025-11-08 23:26:18 +01:00
karanabe
92bb655b0c fix(base64): allow padded chunks mid-stream 2025-11-08 22:18:19 +01:00
Sylvestre Ledru
859a1ed2e3
github action: improve typo show in github (#9197) 2025-11-08 20:29:37 +01:00
E
cdfdd68214
Merge pull request #9034 from oech3/locales-n
GNUmakefile: fix LOCALES=n
2025-11-08 20:09:34 +01:00
Mahdi Ali-Raihan
c615a0fb20
Merge pull request #9182 from asder8215/factor_benchmarking
Factor: base benchmarking for single/multiple u64, u128, and >u128
2025-11-08 19:40:48 +01:00
Sylvestre Ledru
1074071198
Merge pull request #9192 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.2.6
2025-11-08 18:29:41 +01:00
Sylvestre Ledru
6fa4ca9570
Merge pull request #9193 from lcheylus/openbsd-uptime
uptime: fix clippy warning manual-let-else on OpenBSD
2025-11-08 18:11:42 +01:00
renovate[bot]
b242ae1ce1
chore(deps): update vmactions/freebsd-vm action to v1.2.6 2025-11-08 16:57:34 +00:00
Laurent Cheylus
cce3498383
uptime: fix clippy warning manual-let-else on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-11-08 17:55:05 +01:00
karanabe
690405d72f
fix(readlink): emit GNU-style Invalid argument for non-symlinks (#9189)
Some checks failed
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/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 / Pre-commit hooks (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
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
* fix(readlink): emit GNU-style Invalid argument for non-symlinks

* Replace format! with translate! and test skip on Windows
2025-11-08 15:09:20 +01:00
Daniel Hofstetter
700bb1c7ea
Merge pull request #9188 from sylvestre/install
install: fix the error message
2025-11-08 14:37:15 +01:00
Daniel Hofstetter
a3a34bbba3
Merge pull request #9181 from sylvestre/src-date
date: add --uct alias and allow multiple option aliases together
2025-11-08 14:17:10 +01:00
Sylvestre Ledru
30dbdf7ac7 install: fix the error message
should fix: tests/install/basic-1.sh
2025-11-08 10:58:46 +01:00
Sylvestre Ledru
714a72e0d9
Merge pull request #9186 from oech3/print-host-tuple
GNUmakefile: Better comment for cross build
2025-11-08 10:23:00 +01:00
Sylvestre Ledru
4ebb514c0a
Merge pull request #9185 from lcheylus/openbsd-fix_stdbuf
stdbuf: add support for OpenBSD
2025-11-08 10:20:52 +01:00
Daniel Hofstetter
ff14ca912b
Remove test_keys2 binary (#9183) 2025-11-08 09:59:20 +01:00
E
b2d6e2a53a
GNUmakefile: Better comment for cross build 2025-11-08 17:54:23 +09:00
Laurent Cheylus
3347de434a
stdbuf: add support for OpenBSD
- src/uu/stdbuf/build.rs: add OS "openbsd" to define const DYLIB_EXT = .so
- src/uu/stdbuf/src/stdbuf.rs: add OS "openbsd" in cfg conditional checks
- src/uu/stdbuf/src/libstdbuf/src/libstdbuf.rs: define stdin, stdout, stderr on OpenBSD using
  __stdin, __stdout and __stderr
2025-11-08 09:28:32 +01:00
Daniel Hofstetter
3eda1022fd
Merge pull request #9167 from sylvestre/du-var
Some checks are pending
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 / 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/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (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
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
du: disable some benchmarks
2025-11-08 07:33:53 +01:00
Daniel Hofstetter
4ff93651e3
Merge pull request #9180 from uutils/renovate/crc-fast-1.x-lockfile
chore(deps): update rust crate crc-fast to v1.7.0
2025-11-08 07:08:07 +01:00
Cả thế giới là Rust
adcfcfaf68
fix(tsort): correct minimal cycle reporting and precise back-edge removal with iterative DFS (#8786)
Some checks are pending
CICD / Separate Builds (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 / 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
WSL2 / Test (push) Waiting to run
- Implement iterative DFS to prevent stack overflows (from PR #8737)
- Fix minimal cycle reporting to show only actual cycle nodes
- Remove redundant back-edge from last cycle node to first
- Update test expectations for corrected cycle handling
2025-11-07 23:48:11 +01:00
n4n5
477b37ad06
Add example to manpage (#7841) 2025-11-07 23:47:32 +01:00
Sylvestre Ledru
a8e40acdc4 du: disable some benchmarks 2025-11-07 23:31:06 +01:00
Sylvestre Ledru
63c936af2a date: add --uct alias and allow multiple option aliases together
fix tests/misc/option-aliases.sh
2025-11-07 23:27:55 +01:00
renovate[bot]
60006a6421
chore(deps): update rust crate crc-fast to v1.7.0 2025-11-07 21:38:21 +00:00
Daniel Hofstetter
b2d0773356
Merge pull request #9179 from uutils/renovate/divan-4.x-lockfile
chore(deps): update rust crate divan to v4.1.0
2025-11-07 19:28:20 +01:00
Laurent Cheylus
ad1bac4c92
Fix build and tests for uptime on OpenBSD (#9158)
* uptime: fix build errors on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>

* tests: fix error for uptime on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>

---------

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-11-07 19:07:15 +01:00
renovate[bot]
11acb8d85f
chore(deps): update rust crate divan to v4.1.0 2025-11-07 17:37:17 +00:00
Daniel Hofstetter
c39b4f1509
Merge pull request #9175 from uutils/renovate/jiff-0.x-lockfile
chore(deps): update rust crate jiff to v0.2.16
2025-11-07 18:35:42 +01:00
Laurent Cheylus
5b79ae4b36 FreeBSD workflow: disable stats report for sccache action
Some checks are pending
CICD / Style/cargo-deny (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Separate Builds (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 / 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 / Aggregate GNU test results (push) Blocked by required conditions
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
WSL2 / Test (push) Waiting to run
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-11-07 15:20:06 +01:00
Daniel Hofstetter
63ab5edbc9 ci: adapt template name for Lima v2.0 2025-11-07 15:13:14 +01:00
renovate[bot]
3768411a5d
chore(deps): update rust crate jiff to v0.2.16 2025-11-07 13:50:08 +00:00
Daniel Hofstetter
8983b90478
Merge pull request #9169 from uutils/renovate/reactivecircus-android-emulator-runner-2.x
chore(deps): update reactivecircus/android-emulator-runner action to v2.35.0
2025-11-07 11:41:28 +01:00
Daniel Hofstetter
677fd959b0
Merge pull request #9165 from uutils/renovate/quote-1.x-lockfile
chore(deps): update rust crate quote to v1.0.42
2025-11-07 11:37:11 +01:00
renovate[bot]
7db5b00a35
chore(deps): update reactivecircus/android-emulator-runner action to v2.35.0 2025-11-07 05:30:44 +00:00
renovate[bot]
df90f258d0
chore(deps): update rust crate quote to v1.0.42 2025-11-06 19:23:21 +00:00
Daniel Hofstetter
00583166cc
Merge pull request #9160 from matttbe/timeout-help
Some checks are pending
CICD / Build (push) Blocked by required conditions
CICD / Test all features separately (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
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 / Separate Builds (push) Waiting to run
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
WSL2 / Test (push) Waiting to run
timeout: add missing extra help
2025-11-06 15:32:21 +01:00
Suprun
45fd3c9e93
tests/printenv: add more tests (#9151)
Some checks are pending
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 / Separate Builds (push) Waiting to run
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
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
* tests/printenv: add more tests

* tests/printenv: use clearer checks in tests
2025-11-06 13:40:23 +01:00
Matthieu Baerts (NGI0)
8040e544f3
timeout: add missing extra help
Compared to the GNU Coreutils timeout usage menu and man page, some
parts were missing here:

 - What the <duration> and <command> arguments stand for.

 - Which signal is being sent by default.

 - What the different exit status are.

All the new descriptions are coming from the GNU Coreutils project,
except the one for <command> which is a new one.

French translations are also provided. (I am a French native speaker.)

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
2025-11-06 12:49:35 +01:00
Daniel Hofstetter
c9e110a769
Merge pull request #9155 from lcheylus/fix-freebsd_tests
Fix test job in FreeBSD workflow
2025-11-06 10:31:26 +01:00
Laurent Cheylus
f1552f00bf
Fix tests job in FreeBSD workflow
Remove wrong flag '-p uucore' for 'cargo metadata' command to get features.

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-11-06 07:02:36 +01:00
Daniel Hofstetter
c5554ab9cb clippy: re-enable unnecessary_semicolon lint
Some checks failed
CICD / Dependencies (push) Has been cancelled
CICD / Code Coverage (push) Has been cancelled
CICD / Separate Builds (push) Has been cancelled
GnuTests / Run GNU tests (native) (push) Has been cancelled
GnuTests / Run GNU tests (SELinux) (push) Has been cancelled
Android / Test builds (push) Has been cancelled
Benchmarks / Run benchmarks (CodSpeed) (push) Has been cancelled
Code Quality / Style/format (push) Has been cancelled
Code Quality / Style/lint (push) Has been cancelled
Code Quality / Style/spelling (push) Has been cancelled
Code Quality / Style/toml (push) Has been cancelled
Code Quality / Style/Python (push) Has been cancelled
Code Quality / Pre-commit hooks (push) Has been cancelled
Devcontainer / Verify devcontainer (push) Has been cancelled
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
FreeBSD / Style and Lint (push) Has been cancelled
FreeBSD / Tests (push) Has been cancelled
WSL2 / Test (push) Has been cancelled
CICD / Build/Makefile (push) Has been cancelled
CICD / Build/stable (push) Has been cancelled
CICD / Build/nightly (push) Has been cancelled
CICD / Binary sizes (push) Has been cancelled
CICD / Build (push) Has been cancelled
CICD / Tests/BusyBox test suite (push) Has been cancelled
CICD / Tests/Toybox test suite (push) Has been cancelled
CICD / Test all features separately (push) Has been cancelled
CICD / Build/SELinux (push) Has been cancelled
CICD / Build/SELinux-Stubs (Non-Linux) (push) Has been cancelled
CICD / Safe Traversal Security Check (push) Has been cancelled
GnuTests / Aggregate GNU test results (push) Has been cancelled
2025-11-04 23:47:45 +01:00
Daniel Hofstetter
e84b261ff1
Merge pull request #9133 from sylvestre/printf-surprise
Some checks are pending
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 / 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
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
WSL2 / Test (push) Waiting to run
printf: handle extremely large format widths gracefully to fix GNU test panic
2025-11-04 09:35:58 +01:00
Daniel Hofstetter
c7f96cb4a5
Merge pull request #9139 from uutils/revert-9082-fix-base64-bench
Revert "Fix base64 benchmarks"
2025-11-04 09:02:03 +01:00
Sylvestre Ledru
d403ba06ff
Revert "Fix base64 benchmarks (#9082)"
This reverts commit 975e18c032.
2025-11-04 07:35:30 +01:00
Sylvestre Ledru
c8663b9112 printf: handle extremely large format widths gracefully to fix GNU test panic 2025-11-03 23:32:37 +01:00
Adrian Kretz
975e18c032
Fix base64 benchmarks (#9082)
Some checks are pending
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 / 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
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
WSL2 / Test (push) Waiting to run
* base64: fix tempdir getting removed

* base_common: add -o option to output to file

* base64: fix benchmark input files

Also pipe benchmark output to /dev/null in order to not spam stdout.

* base64: benchmark 50MB files instead of 5GB
2025-11-03 22:01:16 +01:00
mattsu
e766645b9c fix(cat): refine unsafe overwrite detection for appending files
Refactor the `is_unsafe_overwrite` function to improve logic when appending to files. Previously, the check for zero-sized files was combined with input/output equality, leading to potential false negatives. Now, separate the checks: return false if inputs differ, or if output file is empty. For appending mode, allow safe overwrites if input position is at or beyond file size. This prevents data loss while permitting valid append operations.
2025-11-03 21:45:15 +01:00