[Patch] Fix libstdc++/9320

Paolo Carlini pcarlini@unitus.it
Sat Feb 8 19:43:00 GMT 2003


Hi!

After a little reflection, this one too seems pretty obvious:
the size parameter passed to the __gnu_cxx::stdio_filebuf
constructors has nothing to do with the template parameter
dependent type int_type: it's just the size of the buffer.

This is also clear looking at the call points in ios.cc.

Tested x86-linux. Ok?

Paolo.

///////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_9320
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030208/7ba8a7cd/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_9320
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030208/7ba8a7cd/attachment-0001.ksh>


More information about the Libstdc++ mailing list