This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: continuing woes with ostream
- To: dek at cgl dot ucsf dot edu, libstdc++ at sourceware dot cygnus dot com
- Subject: Re: continuing woes with ostream
- From: benjamin kosnik <bkoz at nabi dot net>
- Date: Sun, 31 Oct 1999 18:53:40 -0800
- References: <199910291658.JAA06959@nano.nmr.ucsf.edu>
> OK, I have come up with a small test program which exhibits the problem.
> The bug-tracking site appears broken (cookie trouble).
>
> It took quite some time to figure this out. But if you try to append
> to a string using the concatenation operator, then after 8192 bytes
> the insertion will come from the beginning of the string.
>
hey. This particular bug is fixed. Your test case was the basis for the
testsuite additions, thanks. This was easier to spot on stringstreams,
just cuz then I don't have to do a diff on generated files. I did run
into some other problems with ofstreams which became readily apparent
when the input/output didn't consist of similar, generated numbers. This
is not fixed (filebuf::overflow, most probably, but who knows, and I'm
late for a costume party. . .).
thanks,
benjamin