On 22/11/2026 02:38, Collin Funk wrote:
This only affects platforms where iopoll uses poll instead of select.

* src/iopoll.c (iopoll_internal): Don't ignore POLLERR, POLLHUP, and
POLLNVAL events when BROKEN_OUTPUT is false.
* tests/tee/tee.sh: Add a test case.
* NEWS: Mention the bug fix.

Ah one can get error events even with just POLLOUT set.
Patch looks good.

+  'tee' no longer infinite loops when the reader of a full non-blocking output
+  pipe exits.  This issue only affects platforms where poll is used instead of
+  select: AIX, Solaris, Linux, Android, and macOS 11 or later.
+  [bug introduced in coreutils-9.2]

I wouldn't bother listing "only affects" as most platforms
coreutils is used on are affected. I'd nearly not say anything about platforms 
at all.

cheers,
Padraig

Reply via email to