You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
most utilities exit 0 silently when stdout is closed #16648
With stdout closed, uutils utilities exit 0 without any error. GNU 9.12 reports Bad file descriptor and exits 1.
$ seq 3 >&-;echo$?
uutils: no output, 0
GNU 9.12: seq: write error: Bad file descriptor, 1
Same for cat file, head -n1 file, id, date, wc --version and ~140 other cases in the test (nearly every utility, including --version).
GNU test: bash util/build-gnu.sh && bash util/run-gnu-test.sh tests/misc/io-errors.sh
It is listed in ignore-intermittent.txt, but it failed in all of the last 40 GnuTests runs.
Activity
Devel08 commentedon Nov 17, 2026
I think that this could be a duplicate or related to #9795
sylvestre commentedon Nov 17, 2026
indeed