2006-10-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/29354 * include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type, ios_base::openmode)): Allow for seek to pos_type(off_type(0)) when the stream is empty. * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117494 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libstdc++-v3/ChangeLog 9 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/sstream.tcc 1 addition, 1 deletionlibstdc++-v3/include/bits/sstream.tcc
- libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc 44 additions, 0 deletions...-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc
- libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc 44 additions, 0 deletions.../testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc
Loading
Please register or sign in to comment