Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sqFileAtEnd() revert to previous error checking
sqFileAtEnd() hasn't done any error checking. However adding it has caused a report of primitive failures where previously none occurred. No information is given about what the error is (errno isn't set), and because no other functions are doing error checking we can't know how far back the error occurred. We can't limit error checking to this call because clearerr() clears not only the error flag, but also the end-of-file flag.
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters