aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/static_3.java
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-09-29 21:14:43 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-09-29 21:14:43 +0000
commit983de0da66b96b4f16808b60ebbc51cf6cc81917 (patch)
tree7ddbfb3d8fde45554eca1fb9fedb2a481d11dd26 /libjava/testsuite/libjava.compile/static_3.java
parent302a2cc5c6b2e6e6e1778146f691e67a5ccd0eea (diff)
downloadgcc-983de0da66b96b4f16808b60ebbc51cf6cc81917.zip
gcc-983de0da66b96b4f16808b60ebbc51cf6cc81917.tar.gz
gcc-983de0da66b96b4f16808b60ebbc51cf6cc81917.tar.bz2
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
Diffstat (limited to 'libjava/testsuite/libjava.compile/static_3.java')
0 files changed, 0 insertions, 0 deletions