Skip to content

pipes.rs: simplify, fix useless Result conversion#12422

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:useless-conversion
Open

pipes.rs: simplify, fix useless Result conversion#12422
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:useless-conversion

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented May 21, 2026

Any splice error is discarded. So no benefit for conversion.
Closes #12419 .
Fix one of a bool issue seen #12365 .

@oech3 oech3 force-pushed the useless-conversion branch from 7e72bbc to efcabfe Compare May 21, 2026 13:06
@oech3 oech3 changed the title pipes.rs: simlify, fix unnecessary Result conversion pipes.rs: simplify, fix useless Result conversion May 21, 2026
@oech3 oech3 force-pushed the useless-conversion branch from efcabfe to 179ef18 Compare May 21, 2026 13:10
@oech3

This comment was marked as resolved.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/seq/seq-epipe is now being skipped but was previously passing.
Congrats! The gnu test tests/cut/cut-huge-range is now passing!

@oech3 oech3 marked this pull request as ready for review May 21, 2026 13:34
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 21, 2026

Merging this PR will not alter performance

✅ 319 untouched benchmarks
⏩ 46 skipped benchmarks1


Comparing oech3:useless-conversion (ef8429c) with main (bd908f0)

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.

@xtqqczze
Copy link
Copy Markdown
Contributor

@oech3 Please edit the PR description to unlink #12419 #12423 #12365.

@oech3
Copy link
Copy Markdown
Contributor Author

oech3 commented May 21, 2026 via email

@oech3 oech3 marked this pull request as draft May 21, 2026 13:44
@oech3 oech3 force-pushed the useless-conversion branch 3 times, most recently from 86e6d60 to 794137d Compare May 21, 2026 14:26
@oech3 oech3 marked this pull request as ready for review May 21, 2026 14:48
@oech3 oech3 force-pushed the useless-conversion branch from 794137d to ef8429c Compare May 21, 2026 15:41
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.

2 participants