gcc/libstdc++-v3/testsuite/22_locale
Paolo Carlini eae6e95b7f re PR libstdc++/23953 (using stringstreams causes crashes with some locales)
2005-09-30  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/23953
	* include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
	__moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
	(__verify_grouping): Do the last check only if __grouping[__min] > 0.
	(__add_grouping<>): End recursion if *__gbeg <= 0.
	* testsuite/22_locale/num_get/get/char/23953.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
	* testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
	* testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.

From-SVN: r104814
2005-09-30 08:39:52 +00:00
..
codecvt All files: Update FSF address. 2005-08-17 02:28:44 +00:00
codecvt_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
collate All files: Update FSF address. 2005-08-17 02:28:44 +00:00
collate_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ctype All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ctype_base All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ctype_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
facet All files: Update FSF address. 2005-08-17 02:28:44 +00:00
global_templates All files: Update FSF address. 2005-08-17 02:28:44 +00:00
locale All files: Update FSF address. 2005-08-17 02:28:44 +00:00
messages All files: Update FSF address. 2005-08-17 02:28:44 +00:00
messages_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
money_get All files: Update FSF address. 2005-08-17 02:28:44 +00:00
money_put All files: Update FSF address. 2005-08-17 02:28:44 +00:00
moneypunct All files: Update FSF address. 2005-08-17 02:28:44 +00:00
moneypunct_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
num_get re PR libstdc++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
num_put re PR libstdc++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
numpunct All files: Update FSF address. 2005-08-17 02:28:44 +00:00
numpunct_byname All files: Update FSF address. 2005-08-17 02:28:44 +00:00
time_get All files: Update FSF address. 2005-08-17 02:28:44 +00:00
time_put All files: Update FSF address. 2005-08-17 02:28:44 +00:00