Message98740
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. |
|
Date |
User |
Action |
Args |
2010-02-02 14:41:19 | skrah | set | recipients:
+ skrah, pitrou, nneonneo, benjamin.peterson, pmpp |
2010-02-02 14:41:18 | skrah | set | messageid: <1265121678.74.0.271873706089.issue5677@psf.upfronthosting.co.za> |
2010-02-02 14:41:17 | skrah | link | issue5677 messages |
2010-02-02 14:41:16 | skrah | create | |
|