This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] libstdc++/10063: stdio_filebuf broken
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, Nathan Myers <ncm at cantrip dot org>
- Date: Wed, 08 Oct 2003 18:49:48 +0200
- Subject: Re: [RFC] libstdc++/10063: stdio_filebuf broken
- References: <3F83ED77.3070606@unitus.it>
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.