gcc/libstdc++-v3/testsuite/22_locale
Benjamin Kosnik 07814743cf std_fstream.h (filebuf::__file_type): Change to __basic_file<char>.
2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/5286
	libstdc++/3860
	* include/std/std_fstream.h (filebuf::__file_type): Change to
	__basic_file<char>.
	(filebuf::_M_convert_to_external): Declare.
	* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
	codecvt bits for wide streams.
	(filebuf::_M_really_overflow): Use it.
	(filebuf::underflow): Use codecvt.
	* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
	(codecvt<__enc_traits>::do_out): Deal with partial.
	(codecvt<__enc_traits>::do_encoding): Return something useful.
	* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
	wchar_t.
	* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
	Change expected encoding output.
	(test02): Same.
	* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
	(test02): Same.

From-SVN: r49601
2002-02-08 01:34:41 +00:00
..
codecvt_members_char_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
codecvt_members_unicode_char.cc std_fstream.h (filebuf::__file_type): Change to __basic_file<char>. 2002-02-08 01:34:41 +00:00
codecvt_members_unicode_wchar_t.cc c_locale_gnu.cc: Move facet info to separate files... 2001-08-28 06:19:35 +00:00
codecvt_members_wchar_t_char.cc std_fstream.h (filebuf::__file_type): Change to __basic_file<char>. 2002-02-08 01:34:41 +00:00
codecvt.cc codecvt.h: Add virtual member function declarations. 2001-10-31 20:05:33 +00:00
collate_byname.cc collate_byname.cc (test01): Fix. 2001-08-22 05:47:35 +00:00
collate_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
collate_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
collate.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
ctor_copy_dtor.cc ctor_copy_dtor.cc: Remove check. 2002-01-17 22:29:44 +00:00
ctype_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
ctype_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
ctype.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
facet.cc Clean up initialization and simplfy caching of underlying "C" locale objects. 2001-12-15 07:05:04 +00:00
global_templates.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
messages_byname.cc Implement std::messages. 2001-08-08 02:49:01 +00:00
messages_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
messages.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
money_get_members_char.cc money_get_members_char.cc: Add comment, tidy up. 2002-02-07 19:27:38 +00:00
money_get_members_wchar_t.cc money_get_members_char.cc: Add comment, tidy up. 2002-02-07 19:27:38 +00:00
money_get.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
money_put_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
money_put_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
money_put.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
moneypunct_byname.cc c_locale_gnu.cc: Minor tweaks. 2001-08-24 04:11:23 +00:00
moneypunct_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
moneypunct_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
moneypunct.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
num_get_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
num_get_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
num_get.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
num_put_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
num_put_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
num_put.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
numpunct_byname.cc 2002-01-30 Paolo Carlini <pcarlini@unitus.it> 2002-01-30 21:00:40 +00:00
numpunct_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
numpunct_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
numpunct.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
operators.cc 2002-02-02 Paolo Carlini <pcarlini@unitus.it> 2002-02-02 13:46:47 +00:00
static_members.cc acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... 2001-08-07 03:38:33 +00:00
time_get_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
time_get_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
time_get.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00
time_put_members_char.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
time_put_members_wchar_t.cc codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv(). 2002-02-01 00:24:12 +00:00
time_put.cc collate.cc: Compile-only. 2001-12-04 07:15:01 +00:00