Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

minorbug(stat): os errno not stripped when failing to flush stdout

Open Beginner friendly
#15,200 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@cestercian is already working on this.

Since Oct 9, 2026.

  • #15203 by @cestercian — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

The issue identifies stat and reproduces the flush errors, but names no source file or test. Start by searching the stat implementation and existing tests for the “Error flushing stdout” message; compare the output with the linked report in issue #12901. Done means the reproduced errors no longer include the OS errno suffix, with relevant tests passing.

Written by the indexing model from the issue text.

Description

U - stat

Hi, can be reproduced via both

relunsec@relunsec:~/software/coreutils/target/debug$ env --ignore-signal=PIPE ./stat . | head -n 0
Error flushing stdout: Broken pipe (os error 32)
relunsec@relunsec:~/software/coreutils/target/debug$ ./stat --format '%s' a > /dev/full
Error flushing stdout: No space left on device (os error 28)
relunsec@relunsec:~/software/coreutils/target/debug$ 

noted here https://github.com/uutils/coreutils/issues/12901

Dominant language
Rust
Stars
24.2k
Forks
2.1k
Avg merge
1d 17h
Merged PRs (30d)
331

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/coreutils

All issues in uutils/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.