This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10325] destructor of FILE handles created by fopencookie() not called on exit.
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Oct 2009 07:18:49 -0000
- Subject: [Bug libc/10325] destructor of FILE handles created by fopencookie() not called on exit.
- References: <20090624124605.10325.rixed@happyleptic.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2009-10-30 07:18 -------
This wasn't in the design. The system doesn't know anything about the actual
implementation. Perhaps some of the resources needed for the cookie functions
is already gone. It's not safe to try to close the FILE. Aside, there might be
code out there which depends on the current behavior. It'd different if from
day one this requirement would have existed.
And whatever ISO C says doesn't apply here because cookie streams are not in ISO C.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=10325
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.