gcc/libstdc++-v3/testsuite/22_locale/num_get
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
..
get re PR libstdc++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
1.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
2.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
3.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00