gcc/libstdc++-v3/include/std
Paolo Carlini 95dca20c9c re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream)
2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan Myers  <ncm@cantrip.org>

	PR libstdc++/7744
	* config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
	seekoff, seekpos): Add a boolean parameter __stdio.
	* config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
	seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
	fseek/ftell, respectively), otherwise read (write, lseek, lseek,
	respectively).
	* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
	_M_really_overflow, seekoff): Use the boolean parameter in the calls.
	* include/std/std_fstream.h (sync): Likewise.
	* src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
	* src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert libstdc++/8399
	commit involving isatty(0).
	* acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
        (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
  	* configure.in: Remove call.
	* aclocal.m4: Regenerate.
       	* config.h.in: Regenerate.
        * configure: Regenerate.
	* testsuite/27_io/narrow_stream_objects.cc (test11): Add.

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

From-SVN: r64051
2003-03-09 22:31:45 +00:00
..
std_algorithm.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_bitset.h std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values. 2003-02-03 19:37:53 +00:00
std_complex.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
std_deque.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00
std_fstream.h re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream) 2003-03-09 22:31:45 +00:00
std_functional.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iomanip.h c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. 2003-02-13 21:39:03 +00:00
std_ios.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iosfwd.h Revert include ordering. 2003-01-23 18:56:00 +00:00
std_iostream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_istream.h re PR libstdc++/9561 (ostream inserters rethrow exception of wrong type) 2003-03-09 04:19:52 +00:00
std_iterator.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_limits.h Intro.3: Update with new (proper) names. 2003-02-26 00:02:16 +00:00
std_list.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00
std_locale.h locale_facets.h: Move non-facet classes requiring <string> to... 2003-01-22 16:51:52 +00:00
std_map.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_memory.h std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
std_numeric.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_ostream.h re PR libstdc++/9561 (ostream inserters rethrow exception of wrong type) 2003-03-09 04:19:52 +00:00
std_queue.h PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
std_set.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_sstream.h PR libstdc++/9404, PR libstdc++/9701 (partial) 2003-02-24 18:22:58 +00:00
std_stack.h PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
std_stdexcept.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_streambuf.h PR libstdc++/9404, PR libstdc++/9701 (partial) 2003-02-24 18:22:58 +00:00
std_string.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_utility.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_valarray.h valarray_meta.h: Remove, split into ... 2003-01-24 16:32:11 +00:00
std_vector.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00