Go to file
Paolo Carlini 983de0da66 std_sstream.h (basic_stringbuf(ios_base::openmode)): Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
2004-09-29  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
	Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
	(str()): Slightly tweak, protect from pptr() == 0.
	(_M_update_egptr()): Likewise.
	* include/bits/sstream.tcc (ssekoff, seekpos): In order to check
	for an empty buffer use __beg instead of _M_string.capacity().
	* testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
	* testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.

	* testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
	* testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
	* testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.

2004-09-29  Paolo Carlini  <pcarlini@suse.de>
	    Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/testsuite_io.h (class constraint_buf): New, extended
	and templatized version of constraint_filebuf; add typedefs for
	streambuf/stringbuf/filebuf and wchar_t counterparts.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r88307
2004-09-29 21:14:43 +00:00
boehm-gc configure.ac: Update all AC_DEFINEs to newer style. 2004-09-27 22:58:02 +00:00
config
contrib
fastjar
fixincludes
gcc re PR c/7425 (deprecated attribute doesn't merge with multiple declarations) 2004-09-29 21:27:26 +01:00
include
INSTALL
intl
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libcpp
libffi
libgfortran re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions) 2004-09-26 16:52:04 +02:00
libiberty
libjava re PR libgcj/17715 (.properties files missing from libgcj-4.0.0.jar) 2004-09-29 19:51:17 +00:00
libmudflap
libobjc
libstdc++-v3 std_sstream.h (basic_stringbuf(ios_base::openmode)): Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1. 2004-09-29 21:14:43 +00:00
maintainer-scripts
zlib
.cvsignore
ABOUT-NLS
ChangeLog configure.in (--without-headers): Add missing double quotes. 2004-09-29 11:41:17 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.if
config.rpath
config.sub
configure Regenerate. 2004-09-29 11:42:03 +00:00
configure.in configure.in (--without-headers): Add missing double quotes. 2004-09-29 11:41:17 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
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.