This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: ostringstream stdlibc++-2.90.8pre1
- To: Bill Thompson <billt at toast dot net>
- Subject: Re: ostringstream stdlibc++-2.90.8pre1
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Thu, 16 Mar 2000 01:54:03 -0800 (PST)
- cc: libstdc++ at sourceware dot cygnus dot com
> 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