Skip to content

wc: Fix fallback when pipe() or splice() failed#11990

Merged
cakebaker merged 1 commit intouutils:mainfrom
oech3:wc-loc
Apr 25, 2026
Merged

wc: Fix fallback when pipe() or splice() failed#11990
cakebaker merged 1 commit intouutils:mainfrom
oech3:wc-loc

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 25, 2026

Closes #11991

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cp/link-heap is now passing!
Congrats! The gnu test tests/printf/printf-surprise is now passing!

@oech3 oech3 changed the title wc: reduce lines of code wc: Fix fallback when pipe() or splice() failured Apr 25, 2026
@oech3 oech3 marked this pull request as ready for review April 25, 2026 04:44
@oech3 oech3 changed the title wc: Fix fallback when pipe() or splice() failured wc: Fix fallback when pipe() or splice() failed Apr 25, 2026
@cakebaker cakebaker merged commit 020124b into uutils:main Apr 25, 2026
168 of 169 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks!

@oech3 oech3 deleted the wc-loc branch April 25, 2026 14:56
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.

wc -c improperly handles splice() and pipe() error

2 participants