This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10325] destructor of FILE handles created by fopencookie() not called on exit.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]