[Bug stdio/32567] Line-buffered flushing on unrelated input streams is restricted to stdout

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 15 09:52:23 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=32567

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andreas Schwab from comment #2)
> C23, 7.23.3 Files:
> 
> When a stream is line buffered, characters are intended to be transmitted to
> or from the host environment as a block when a new-line character is
> encountered.  Furthermore, characters are intended to be transmitted as a
> block to the host environment when a buffer is filled, when input is
> requested on an unbuffered stream, or when input is requested on a line
> buffered stream that requires the transmission of characters from the host
> environment.

Do you think this means that the posted test case should pass?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list