This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/21544] stdio fprintf, printf returning >0 after underlying fd closed
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 13 Jun 2017 10:15:34 +0000
- Subject: [Bug stdio/21544] stdio fprintf, printf returning >0 after underlying fd closed
- Auto-submitted: auto-generated
- References: <bug-21544-131@http.sourceware.org/bugzilla/>
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.