gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
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
..
close/char 4879.cc: xfail on cygwin 2003-07-05 12:55:09 +00:00
cons/wchar_t
imbue
in_avail/char
is_open/char
open/char 4879.cc: xfail on cygwin 2003-07-05 12:55:09 +00:00
overflow 11305-1.cc: Improve type correctness-wise. 2003-06-29 11:12:35 +00:00
pbackfail/char
sbumpc/char Nathan C. 2003-06-24 13:48:11 +00:00
seekoff 1-in.cc: New. 2003-07-01 03:04:43 +00:00
seekpos 1-in.cc: New. 2003-07-01 03:04:43 +00:00
setbuf/char Nathan C. 2003-07-14 18:23:12 +00:00
sgetc/char Nathan C. 2003-06-24 13:48:11 +00:00
sgetn/char Nathan C. 2003-06-24 13:48:11 +00:00
showmanyc/char 4879.cc: xfail on cygwin 2003-07-05 12:55:09 +00:00
snextc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputbackc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputn/char Makefile.am (target_headers): Add fpos.h 2003-07-04 07:14:54 +00:00
sungetc/char Nathan C. 2003-06-24 13:48:11 +00:00
sync/char
underflow 4879.cc: xfail on cygwin 2003-07-05 12:55:09 +00:00
1.cc
2.cc
3.cc
4.cc