continuing woes with ostream

benjamin kosnik bkoz@nabi.net
Sun Oct 31 18:54:00 GMT 1999


> 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


More information about the Libstdc++ mailing list