gcc/libstdc++-v3/testsuite/22_locale
Benjamin Kosnik 4b9aaf6379 Audit for LANG independence.
2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

	Audit for LANG independence.
	* include/bits/localefwd.h: Tweaks.
	* include/bits/locale_facets.tcc (money_get::do_get(long double)):
	Use __convert_to_v.
	(time_get::do_get_year): Same.
	(__convert_from_v): Add.
	(num_put::_M_convert_float): Use.
	(num_put::_M_convert_int): Same.
	(money_put::do_put): Same.

	* src/locale-inst.cc: Add instantiations for __convert_from_v.
	* config/locale/time_members_gnu.cc: Cleanup setlocale usage.
	* config/locale/time_members_generic.cc:
	* config/locale/messages_members_gnu.cc: Same.
	* config/locale/messages_members_gnu.h: Same.

	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
	* testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
	* testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/collate_members_char.cc (test02): New.
	* testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/ctype_members_char.cc (test03): New.
	* testsuite/22_locale/messages_members_char.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/moneypunct_members_char.cc (test02): New.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_get_members_char.cc (test04): New.
	* testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
	* testsuite/22_locale/money_put_members_char.cc (test04): New.
	* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
	* testsuite/22_locale/numpunct_members_char.cc (test02): New.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/time_put_members_char.cc (test03): New.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
	* testsuite/22_locale/time_get_members_char.cc (test07): New.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_get_members_char.cc (test03): New.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
	* testsuite/22_locale/num_put_members_char.cc (test03): New.

	* testsuite/22_locale/time_get_members_char.cc: Fixups for global
	locale issues.
	* testsuite/22_locale/time_get_members_char.cc: Same.

2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5280
	* include/bits/localefwd.h: Tweak comments.
	* include/bits/locale_facets.h (__convert_to_v): Add.
	* include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
	(num_get::do_get(float)): Same.
	(num_get::do_get(long double)): Same.
	(num_get::do_get(bool)): Same.
	(num_get::do_get(long)): Same.
	(num_get::do_get(long long)): Same.
	(num_get::do_get(unsigned int)): Same.
	(num_get::do_get(unsigned short)): Same.
	(num_get::do_get(unsigned long)): Same.
	(num_get::do_get(unsigned long long)): Same.
	* config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
	* config/locale/c_locale_generic.cc: Same.

From-SVN: r49108
2002-01-22 23:09:04 +00:00
..
codecvt_members_char_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
codecvt_members_unicode_char.cc
codecvt_members_unicode_wchar_t.cc
codecvt_members_wchar_t_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
codecvt.cc
collate_byname.cc
collate_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
collate_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
collate.cc
ctor_copy_dtor.cc ctor_copy_dtor.cc: Remove check. 2002-01-17 22:29:44 +00:00
ctype_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
ctype_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
ctype.cc
facet.cc
global_templates.cc
members.cc
messages_byname.cc
messages_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
messages.cc
money_get_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
money_get_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
money_get.cc
money_put_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
money_put_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
money_put.cc
moneypunct_byname.cc
moneypunct_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
moneypunct_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
moneypunct.cc
num_get_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
num_get_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
num_get.cc
num_put_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
num_put_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
num_put.cc
numpunct_byname.cc
numpunct_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
numpunct_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
numpunct.cc
operators.cc
static_members.cc
time_get_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_get_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_get.cc
time_put_members_char.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_put_members_wchar_t.cc Audit for LANG independence. 2002-01-22 23:09:04 +00:00
time_put.cc