gcc/libstdc++-v3/testsuite/27_io
Paolo Carlini bda243ec50 Nathan C.
2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan C. Myers  <ncm-nospam@cantrip.org>

	PR libstdc++/11378
	* include/std/std_fstream.h (xsputn): Declare only.
	* include/bits/fstream.tcc (xsputn): Define, optimize for the
	always_noconv() case: when __n is sufficiently large flush
	the buffer and issue a direct write, if possible combining the
	two with writev in __basic_file<>::xsputn_2.
	* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
	New, declare.
	* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
	Define.
	* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
	the availability of writev in <sys/uio.h>.
	* configure.in: Call here.
	* acconfig.h: Add undef for the corresponding symbol.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.

	* include/std/std_fstream.h (sync): Constify a variable.

Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>

From-SVN: r69341
2003-07-14 18:23:12 +00:00
..
basic_filebuf Nathan C. 2003-07-14 18:23:12 +00:00
basic_fstream
basic_ifstream
basic_ios
basic_iostream
basic_istream re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) 2003-06-05 23:25:05 +00:00
basic_istringstream
basic_ofstream
basic_ostream re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) 2003-06-05 23:25:05 +00:00
basic_ostringstream
basic_streambuf std_streambuf.h (_M_mode): Move from here to filebuf and stringbuf. 2003-06-30 11:17:23 +00:00
basic_stringbuf
basic_stringstream
fpos Makefile.am (target_headers): Add fpos.h 2003-07-04 07:15:30 +00:00
ios_base assign_neg.cc: Fix line numbers. 2003-07-14 14:47:03 +00:00
manipulators
objects 4879.cc: xfail on cygwin 2003-07-05 12:55:09 +00:00
types Move from CPP to CXX. 2003-07-05 04:05:45 +00:00