libstdc++/ /ChangeLog its/basic_file.h its/ios ...

bkoz@sourceware.cygnus.com bkoz@sourceware.cygnus.com
Thu Jan 13 02:34:00 GMT 2000


CVSROOT:	/cvs/libstdc++
Module name:	libstdc++
Changes by:	bkoz@sourceware.cygnus.com	00/01/13 02:34:57

Modified files:
	.              : ChangeLog 
	bits           : basic_file.h ios_base.h sstream.tcc 
	                 std_fstream.h std_sstream.h 
	src            : ios.cc 
	testsuite/27_io: ios_base_members_static.cc stringbuf.cc 

Log message:
	2000-01-12  Benjamin Kosnik  <bkoz@gnu.org>
	
	* bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
	* bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
	(misleading) code.
	(__basic_file::filepos_valid): Same.
	(__basic_file::filepos_beg): Same.
	(__baseic_file::get_fileno): New function.
	* bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
	feedback from LWG 49.
	* src/ios.cc: Move definition here.
	* testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
	
	* bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
	output part of internal buffer based on string size, so that
	_M_out_end is set consistently with filebufs. Correct comments.
	* bits/sstream.tcc (stringbuf::overflow): Update here too.
	* testsuite/27_io/stringbuf.cc: Changes.



More information about the Libstdc++-cvs mailing list