Information on a commit related to libstdc++/9533

Nathan Myers ncm-nospam@cantrip.org
Mon Mar 3 12:54:00 GMT 2003


On Mon, Mar 03, 2003 at 12:28:24PM +0100, Paolo Carlini wrote:
> Paolo Carlini wrote:
> >as noticed by P?tur, this commit:
> >
> >   http://gcc.gnu.org/ml/gcc-cvs/2002-12/msg00755.html
> 
> Well, actually, the commit for libstdc++/6746 it's also involved.

I agree that this is a very serious problem.  Setting non-blocking
mode is a radical change to expected semantics, so that if that mode 
is not available, it cannot be right just to leave it off.  

I think the real error is in setting non-blocking mode: that cannot be 
the right solution to whatever problem it meant to solve.  I don't know 
what problem it was meant to solve.  I do know that we have had iostream 
implementations for more than a decade that perform well on both files 
and ttys and do not depend on setting a non-blocking mode.

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list