gcc/libstdc++-v3 ChangeLog src/fstream.cc incl ...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Wed May 7 12:48:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2003-05-07 12:48:58

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/src: fstream.cc 
	libstdc++-v3/include/std: std_fstream.h std_sstream.h 
	libstdc++-v3/include/bits: fstream.tcc 

Log message:
	2003-05-07  Paolo Carlini  <pcarlini@unitus.it>
	
	* include/std/std_fstream.h (_M_is_indeterminate): Remove.
	* src/fstream.cc
	(basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
	there is no buffer or __testget == !__testinit.
	
	* src/fstream.cc
	(basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
	automatically sets, if appropriate, _M_out_cur == _M_in_cur.
	
	* include/std/std_fstream.h (_M_destroy_pback): Don't set
	unnecessarily _M_pback_cur_save and _M_pback_end_save.
	
	* include/std/std_fstream.h (_M_set_determinate): Minor tweak.
	
	* include/std/std_sstream.h (_M_sync): Minor tweak.
	
	* include/bits/fstream.tcc (close): No need to call
	_M_destroy_pback, setting _M_pback_init to false suffices
	to clean up.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1704&r2=1.1705
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/fstream.cc.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_fstream.h.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_sstream.h.diff?cvsroot=gcc&r1=1.26&r2=1.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&r1=1.71&r2=1.72



More information about the Libstdc++-cvs mailing list