[Patch] Improve the old fix for 11095
Paolo Carlini
pcarlini@unitus.it
Fri Oct 10 13:49:00 GMT 2003
Hi,
in retrospect, my fix was correct but ugly: we can easily avoid
explicitly checking that width() >= 0 since we have to compare it
anyway with 'len'!.
Also, as part of the clean up, we can avoid unnecessarily calling
__builtin_alloca (similarly to various places in locale_facets.tcc).
Tested x86-linux, will commit soon if nobody objects...
Paolo.
///////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_ostream
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031010/180a0a04/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_ostream
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031010/180a0a04/attachment-0001.ksh>
More information about the Libstdc++
mailing list