libstdc++/3955: ostringstream behaves poorly with openmode ios::app
Phil Edwards
pedwards@disaster.jaj.com
Thu Aug 9 12:56:00 GMT 2001
The following reply was made to PR libstdc++/3955; it has been noted by GNATS.
From: Phil Edwards <pedwards@disaster.jaj.com>
To: Steven Barker <scbarker@uiuc.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3955: ostringstream behaves poorly with openmode ios::app
Date: Thu, 9 Aug 2001 15:53:25 -0400
On Tue, Aug 07, 2001 at 07:10:04PM -0400, Steven Barker wrote:
> I've attached a one line patch (to the latest CVS bits/std_sstream.h). It
> makes string_bufs treat ios_base::ate and ios_base::app the same. It should
> work (as it is so simple a solution), but I've not tested it.
Good, that's the same change I have in my local tree. I still need to
write up a testcase, and get feedback from the others.
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC
More information about the Gcc-prs
mailing list