gcc/libstdc++-v3/include
Paolo Carlini 91675f9d25 re PR libstdc++/12352 (Exception safety problems in src/localename.cc)
2003-09-25  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/12352
	* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
	size_t)): Don't leak if memory allocations for _M_facets,
	_M_caches, and _M_names fail.
	(locale::_Impl::_Impl(const char*, size_t)): Ditto.
	(locale::_Impl::_M_replace_categories(const _Impl*,
	category)): Ditto.
	(locale::_Impl::_M_install_facet(const locale::id*,
	const facet*)): Ditto.
	* include/bits/locale_classes.h (locale::locale(const locale&,
	_Facet*)): Don't leak memory.
	* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.

	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
	bool)): Qualify with std:: strcpy, tweak.
	* include/bits/locale_classes.h
	(locale::_Impl::_M_check_same_name): Qualify strcmp.

From-SVN: r71808
2003-09-26 00:22:01 +00:00
..
backward Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
bits re PR libstdc++/12352 (Exception safety problems in src/localename.cc) 2003-09-26 00:22:01 +00:00
c c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. 2003-07-30 16:51:51 +00:00
c_compatibility re PR c++/6072 (3.2 g++ testsuite breakage on cygwin) 2003-09-25 20:30:20 +00:00
c_std re PR c++/6072 (3.2 g++ testsuite breakage on cygwin) 2003-09-25 20:30:20 +00:00
ext re PR libstdc++/12048 (unget does not work) 2003-09-03 14:54:03 +00:00
std basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. 2003-09-18 14:02:46 +00:00
Makefile.am Makefile.am: Remove trailing whitespace. 2003-08-27 21:29:43 +00:00
Makefile.in Makefile.am: Remove trailing whitespace. 2003-08-27 21:29:43 +00:00
stdc++.h stdc++.h: New. 2003-03-14 22:16:06 +00:00