Author skrah
Recipients benjamin.peterson, nneonneo, pitrou, pmpp, skrah
Date 2010-02-02.14:41:15
SpamBayes Score 4.91191e-06
Marked as misclassified No
Message-id <1265121678.74.0.271873706089.issue5677@psf.upfronthosting.co.za>
In-reply-to
Content
An errno+ferror approach works except for two cases:

  (1) MS fgets() does not consider reading from a write-only stream
      an error. While annoying, I think this is standard conforming.

  (2) OpenSolaris sets errno unreliably after getc.


I do not know how to get around those without using OS specifics.
History
Date User Action Args
2010-02-02 14:41:19skrahsetrecipients: + skrah, pitrou, nneonneo, benjamin.peterson, pmpp
2010-02-02 14:41:18skrahsetmessageid: <1265121678.74.0.271873706089.issue5677@psf.upfronthosting.co.za>
2010-02-02 14:41:17skrahlinkissue5677 messages
2010-02-02 14:41:16skrahcreate