This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/29354] Error when seeking on an ostringstream



------- Comment #3 from paolo at gcc dot gnu dot org  2006-10-06 09:58 -------
Subject: Bug 29354

Author: paolo
Date: Fri Oct  6 09:58:03 2006
New Revision: 117495

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117495
Log:
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.

Added:
   
branches/gcc-4_1-branch/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc
   
branches/gcc-4_1-branch/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc
Modified:
    branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_1-branch/libstdc++-v3/include/bits/sstream.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29354


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]