Go to file
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
boehm-gc gcconfig.h (GC_data_start): declare when needed. 2003-03-04 22:18:08 +00:00
config configure.in: Replace ${libstdcxx_version} by its value. 2003-03-04 07:23:56 +00:00
contrib test_summary: Add -h, print existing comments as help. 2003-03-09 01:33:00 +00:00
fastjar
gcc rs6000.md (movsi_update1): Add TARGET_UPDATE final condition. 2003-03-09 17:28:31 -05:00
include * libiberty.h: Document return value of physmem routines. 2003-02-27 20:28:40 +00:00
INSTALL
libf2c
libffi
libiberty * cplus-dem.c: Add license exception to copyright notice. 2003-03-04 02:57:16 +00:00
libjava No changelog, just replaced one tabulator with some spaces 2003-03-07 06:52:17 +00:00
libobjc
libstdc++-v3 re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream) 2003-03-09 22:31:45 +00:00
maintainer-scripts
zlib
.cvsignore
ChangeLog configure.in (gxx_include_dir): Fix typo. 2003-03-09 17:08:17 +00:00
config-ml.in
config.guess
config.if
config.sub
configure configure.in (gxx_include_dir): Fix typo. 2003-03-09 17:08:17 +00:00
configure.in configure.in (gxx_include_dir): Fix typo. 2003-03-09 17:08:17 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS Add myself to the write-after-approval list. 2003-03-03 20:26:10 +00:00
Makefile.def
Makefile.in Makefile.tpl: Reindent. 2003-03-05 01:45:09 +00:00
Makefile.tpl Makefile.tpl: Reindent. 2003-03-05 01:45:09 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.