From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Open a file 2. Read past the end of file 3. call feof 4. call ferror Actual Results: feof returned a non-zero value as expected. ferror returned a non-zero value Expected Results: I believe ferror should return 0 if the EOF condition is met. I think EOF is just a condition not an error condition. Additional info:
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=91572