[Bug stdio/21544] stdio fprintf, printf returning >0 after underlying fd closed

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue Jun 13 10:15:00 GMT 2017


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fweimer at redhat dot com
         Resolution|---                         |INVALID

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Use of stdio streams when the underlying file descriptor has been closed is
undefined anyway.  The fstat call happens on the first use only anyway, so the
additional error detection capability provided base on that would be extremely
narrow.

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


More information about the Glibc-bugs mailing list