This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Bug in endl (libio)



  In message <852568E4.00771CAB.00@D51MTA03.pok.ibm.com>you write:
  > In libio/iostream.cc, endl() should check if the stream can accept chars
  > before writing its eol.  I found this because I was forcibly setting a
  > stream to eof in order to create a null stream that swallows chars (long
  > story - NT has a less than stellar iostream).  In that situation, eols
  > still get written.
  > 
  > This is true in 2.95.2 as well as the latest cvs according to the web
  > pages.
  > 
  > Here's a patch:
Based on Uli's comments, I've installed this patch.

jeff


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