[RFC] libstdc++/10063: stdio_filebuf broken

Paolo Carlini pcarlini@unitus.it
Wed Oct 8 16:49:00 GMT 2003


Paolo Carlini wrote:

> 1* Rip it out completely. Indeed, stdio_sync_filebuf should be really
> used now for the purposes which originally led to the ext::stdio_filebuf
> extension. As regards the internal uses of stdio_filebuf (in ios.cc, I
> mean, of course) its should be not difficult to use directly 
> basic_filebuf.

I remember only now, sorry, that there is another, more radical option which
we should consider if we really want to fix 11705 too: avoiding completely
the use of basic_filebuf for cin, wcin, and so on, not /only/ when
sync_with_stdio is true but also when is false:

    http://gcc.gnu.org/ml/libstdc++/2003-03/msg00240.html
    http://gcc.gnu.org/ml/libstdc++/2003-03/msg00250.html

Perhaps it's time to tackle seriously those issues??

Thanks for any help,
Paolo.



More information about the Libstdc++ mailing list