ostringstream stdlibc++-2.90.8pre1

Benjamin Kosnik bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


> std_sstream.h changed the following noted below
> 
>       void
>       _M_init_stringbuf(ios_base::openmode __mode)
>       {
>         _M_buf_size = _M_string.size();
>         _M_mode = __mode;
>         _M_really_sync(0,_M_buf_size); // <--changed here Bill T
>       }

I added your testcase. This is not the correct fix, as it gives new 
regressions in the testsuite. Thanks for the bug report though, and feel 
free to hack on it.

I'll look at this at some point soon.

-benjamin


More information about the Libstdc++ mailing list