gcc/libstdc++-v3/testsuite
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
..
17_intro Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
18_support Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
19_diagnostics
20_util Testsuite corrections 2003-06-20 23:40:11 +00:00
21_strings Testsuite corrections 2003-06-20 23:40:11 +00:00
22_locale locale_facets.tcc: Use function object for __use_cache instead of template function. 2003-07-10 06:21:13 +00:00
23_containers Testsuite corrections 2003-06-20 23:40:11 +00:00
24_iterators Don't initialize an insert_iterator with a singular iterator 2003-06-30 19:11:12 +00:00
25_algorithms Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
26_numerics Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
27_io Nathan C. 2003-07-14 18:23:12 +00:00
backward
config
data 1-in.cc: New. 2003-07-01 03:04:43 +00:00
demangle
ext pod_char_traits.cc: New. 2003-07-09 00:40:29 +00:00
lib create_testsuite_files: New file. 2003-07-06 03:14:37 +00:00
libstdc++-v3.dg Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
performance list_create_fill_sort.cc: New. 2003-07-08 21:33:18 +00:00
thread Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
abi_check.cc create_testsuite_files: New file. 2003-07-06 03:14:37 +00:00
Makefile.am create_testsuite_files: New file. 2003-07-06 03:14:37 +00:00
Makefile.in create_testsuite_files: New file. 2003-07-06 03:14:37 +00:00
printnow.c
testsuite_allocator.cc
testsuite_allocator.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
testsuite_hooks.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
testsuite_hooks.h locale_facets.tcc: Use function object for __use_cache instead of template function. 2003-07-10 06:21:13 +00:00
testsuite_io.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
testsuite_performance.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00