gcc/libstdc++-v3/src
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
..
codecvt.cc [multiple changes] 2003-02-06 06:24:21 +00:00
complex_io.cc
concept-inst.cc locale_facets.h: Move non-facet classes requiring <string> to... 2003-01-22 16:51:52 +00:00
ctype.cc
demangle.cc demangle.h: Move to.. 2003-03-05 17:57:52 +00:00
ext-inst.cc
fstream-inst.cc
fstream.cc re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream) 2003-03-09 22:31:45 +00:00
functexcept.cc
globals.cc globals.cc: Clarify comments, remove c_locale_imp_compat. 2003-03-05 06:02:15 +00:00
io-inst.cc
ios.cc re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream) 2003-03-09 22:31:45 +00:00
istream-inst.cc
limits.cc
locale-inst.cc [multiple changes] 2003-02-18 05:45:07 +00:00
locale.cc locale-inst.cc: Do not include <cassert>. 2003-02-17 21:42:05 +00:00
localename.cc Const correctness issue: http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html 2003-02-01 16:37:20 +00:00
Makefile.am [multiple changes] 2003-02-27 16:57:26 +00:00
Makefile.in [multiple changes] 2003-02-27 16:57:26 +00:00
misc-inst.cc atomicity.h (_Atomic_add_mutex): Fix declaration. 2003-02-13 04:02:20 +00:00
ostream-inst.cc
sstream-inst.cc
stdexcept.cc * config/locale/gnu/ctype_members.cc 2002-12-27 23:03:03 +00:00
stl-inst.cc configure.in (libtool_VERSION): To 6:0:0. 2003-01-23 17:21:11 +00:00
streambuf-inst.cc
string-inst.cc
strstream.cc strstream.cc, [...]: Remove incorrect whitespace added in my previous change. 2003-03-05 22:24:56 +00:00
valarray-inst.cc
wstring-inst.cc