Skip to content

truncate: missing input value in error when -s flag is empty - #13588

Merged
cakebaker merged 4 commits into
uutils:mainfrom
Devel08:fix-issue-13576
Jul 27, 2026
Merged

truncate: missing input value in error when -s flag is empty#13588
cakebaker merged 4 commits into
uutils:mainfrom
Devel08:fix-issue-13576

Conversation

@Devel08

@Devel08 Devel08 commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

closes #13576

@codspeed-hq

codspeed-hq Bot commented Jul 27, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by ×2.4

⚡ 2 improved benchmarks
✅ 340 untouched benchmarks
🆕 3 new benchmarks
⏩ 46 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory timeout_quick_exit 79 KB 16.2 KB ×4.9
Memory timeout_enforced 19.4 KB 16.5 KB +17.81%
🆕 Memory timer_expiry_latency[0.001] N/A 79.9 KB N/A
🆕 Memory timer_expiry_latency[0.005] N/A 17 KB N/A
🆕 Memory timer_expiry_latency[0.02] N/A 17 KB N/A

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing Devel08:fix-issue-13576 (e6ce4e6) with main (9d0c43a)

Open in CodSpeed

Footnotes

  1. 46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Note: The gnu test tests/basenc/bounded-memory is now being skipped but was previously passing.
Note: The gnu test tests/cp/link-heap is now being skipped but was previously passing.
Note: The gnu test tests/dd/no-allocate is now being skipped but was previously passing.
Note: The gnu test tests/rm/many-dir-entries-vs-OOM is now being skipped but was previously passing.

Comment thread src/uu/truncate/src/truncate.rs Outdated
Comment thread src/uu/truncate/src/truncate.rs Outdated
@cakebaker
cakebaker merged commit 1698977 into uutils:main Jul 27, 2026
164 of 166 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

truncate: missing input value in error when -s flag is empty

2 participants