Author schmir
Recipients Finkregh, Rebecca, ajaksu2, falsetru, georg.brandl, haypo, nvetoshkin, pitrou, python-dev, schmir
Date 2011-05-10.09:30:03
SpamBayes Score 1.39574e-05
Marked as misclassified No
Message-id <1305019804.12.0.435691335808.issue1195@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-10 09:30:04schmirsetrecipients: + schmir, georg.brandl, pitrou, falsetru, haypo, ajaksu2, Rebecca, nvetoshkin, Finkregh, python-dev
2011-05-10 09:30:04schmirsetmessageid: <1305019804.12.0.435691335808.issue1195@psf.upfronthosting.co.za>
2011-05-10 09:30:03schmirlinkissue1195 messages
2011-05-10 09:30:03schmircreate