libstdc++/1072: Exception-unsafe code in locale
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Tue Apr 9 14:06:00 GMT 2002
Synopsis: Exception-unsafe code in locale
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue Apr 9 14:06:08 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->closed
State-Changed-By: bkoz
State-Changed-When: Tue Apr 9 14:06:08 2002
State-Changed-Why:
Fixed with....
2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/1072
* include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
pointer to vector.
Remove forward declaration of vector.
Include vector.
* include/bits/locale_facets.tcc: Remove vector include.
(use_locale): Adjust.
(has_locale): Adjust.
* src/locale.cc: Adjust.
* src/localename.cc: Same.
Also, I audited the rest of the library code for this kind of stuff. I think we're ok now.
thanks,
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1072
More information about the Gcc-prs
mailing list