Message135693
Either you clearerr or you can't rely on feof. fgets might also set the end of file indicator *and* return valid data. I don't see a reason to not call clearerr right before trying to read from the stream. |
|
Date |
User |
Action |
Args |
2011-05-10 09:30:04 | schmir | set | recipients:
+ schmir, georg.brandl, pitrou, falsetru, vstinner, ajaksu2, Rebecca, nvetoshkin, Finkregh, python-dev |
2011-05-10 09:30:04 | schmir | set | messageid: <1305019804.12.0.435691335808.issue1195@psf.upfronthosting.co.za> |
2011-05-10 09:30:03 | schmir | link | issue1195 messages |
2011-05-10 09:30:03 | schmir | create | |
|