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
std_bitset.h
std_complex.h
std_deque.h
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
std_iomanip.h
std_ios.h
std_iosfwd.h
std_iostream.h
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
std_limits.h Intro.3: Update with new (proper) names. 2003-02-26 00:02:16 +00:00
std_list.h
std_locale.h
std_map.h
std_memory.h
std_numeric.h
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
std_set.h
std_sstream.h PR libstdc++/9404, PR libstdc++/9701 (partial) 2003-02-24 18:22:58 +00:00
std_stack.h
std_stdexcept.h
std_streambuf.h PR libstdc++/9404, PR libstdc++/9701 (partial) 2003-02-24 18:22:58 +00:00
std_string.h
std_utility.h
std_valarray.h
std_vector.h