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++/26250] stringbuf::overflow() fails to set egptr() same as epptr()



------- Comment #8 from paolo at gcc dot gnu dot org  2006-02-17 10:47 -------
Subject: Bug 26250

Author: paolo
Date: Fri Feb 17 10:46:57 2006
New Revision: 111177

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111177
Log:
2006-02-17  Paolo Carlini  <pcarlini@suse.de>
            Howard Hinnant  <hhinnant@apple.com>

        PR libstdc++/26250
        * include/bits/sstream.tcc (basic_stringbuf<>::overflow): Tweak
        to leave epgtr() just past the new write position, as per the
        relevant bits of 27.7.1.3/8 (not changed by DR 432).
        * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: New.
        * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Same.

        * docs/html/ext/howto.html: Add entries for DR 169 and DR 432.

        * include/std/std_sstream.h (basic_stringbuf<>::_M_sync): Move out
        of line...
        * include/bits/sstream.tcc: ... here.

Added:
    trunk/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/26250.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/docs/html/ext/howto.html
    trunk/libstdc++-v3/include/bits/sstream.tcc
    trunk/libstdc++-v3/include/std/std_sstream.h


-- 


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


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