gcc/libstdc++-v3 ChangeLog config/locale/codec ...

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Thu Feb 7 17:34:00 GMT 2002


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2002-02-07 17:34:41

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/config/locale: 
	                            codecvt_specializations_ieee_1003.1-200x.h 
	libstdc++-v3/include/bits: fstream.tcc 
	libstdc++-v3/include/std: std_fstream.h 
	libstdc++-v3/src: codecvt.cc 
	libstdc++-v3/testsuite/22_locale: 
	                                  codecvt_members_unicode_char.cc 
	                                  codecvt_members_wchar_t_char.cc 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1028&r2=1.1029
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/codecvt_specializations_ieee_1003.1-200x.h.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&r1=1.21&r2=1.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_fstream.h.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/codecvt.cc.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/22_locale/codecvt_members_wchar_t_char.cc.diff?cvsroot=gcc&r1=1.4&r2=1.5



More information about the Libstdc++-cvs mailing list