From mboxrd@z Thu Jan 1 00:00:00 1970 From: bkoz@gcc.gnu.org To: ben.hutchings@roundpoint.com, bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: libstdc++/4503: __enc_traits destructor crashes if initialisation failed Date: Thu, 25 Oct 2001 23:46:00 -0000 Message-id: <20011026064630.7035.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00557.html List-Id: Synopsis: __enc_traits destructor crashes if initialisation failed Responsible-Changed-From-To: unassigned->bkoz Responsible-Changed-By: bkoz Responsible-Changed-When: Thu Oct 25 23:46:29 2001 Responsible-Changed-Why: Mine. State-Changed-From-To: open->feedback State-Changed-By: bkoz State-Changed-When: Thu Oct 25 23:46:29 2001 State-Changed-Why: 2001-10-25 Benjamin Kosnik libstdc++/4503 * config/locale/codecvt_specializations_ieee_1003.1-200x.h: Fix. I fixed this in mainline CVS, gcc-3.1. I will confess that the error handling strategy for __enc_traits is a bit up in the air. I'm not quite sure what to do when the iconv descriptor's can't be opened, or fail. In the meantime, thanks! -benjamin http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4503&database=gcc