This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] libstdc++/10063: stdio_filebuf broken


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]