From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30206 invoked by alias); 24 Jun 2009 12:46:15 -0000 Received: (qmail 30177 invoked by uid 48); 24 Jun 2009 12:46:05 -0000 Date: Wed, 24 Jun 2009 12:46:00 -0000 From: "rixed at happyleptic dot org" To: glibc-bugs@sources.redhat.com Message-ID: <20090624124605.10325.rixed@happyleptic.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10325] New: destructor of FILE handles created by fopencookie() not called on exit. X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00108.txt.bz2 C standard states that all opened FILEs are closed (hence output streams flushed) when the programs calls exit() or returns from main. So, one would expect that the close function of a FILE created by fopencookie should also be called at program exit, which is not the case. -- Summary: destructor of FILE handles created by fopencookie() not called on exit. Product: glibc Version: unspecified Status: NEW Severity: minor Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: rixed at happyleptic dot org CC: glibc-bugs at sources dot redhat dot com 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.