Skip to content

head: catch I/O error with -c 1#12030

Merged
cakebaker merged 1 commit into
uutils:mainfrom
oech3:head-silent-err
Apr 27, 2026
Merged

head: catch I/O error with -c 1#12030
cakebaker merged 1 commit into
uutils:mainfrom
oech3:head-silent-err

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 27, 2026

$ target/debug/head -c 1 /dev/zero >/dev/full
head: error writing 'standard output': No space left on device (os error 28)
Error flushing stdout: No space left on device (os error 28)

also simplify comments

@oech3 oech3 force-pushed the head-silent-err branch from dea988e to dfac24d Compare April 27, 2026 10:52
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/misc/write-errors was skipped on 'main' but is now failing.

@oech3 oech3 marked this pull request as ready for review April 27, 2026 11:28
@cakebaker cakebaker merged commit cc74a62 into uutils:main Apr 27, 2026
169 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks!

@oech3 oech3 deleted the head-silent-err branch April 27, 2026 12:33
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