Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqFileAtEnd() revert to previous error checking #245

Merged
merged 1 commit into from Apr 10, 2018
Merged

sqFileAtEnd() revert to previous error checking #245

merged 1 commit into from Apr 10, 2018

Conversation

akgrant43
Copy link
Contributor

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.

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.
@akgrant43 akgrant43 merged commit 1c16013 into OpenSmalltalk:Cog Apr 10, 2018
@akgrant43 akgrant43 deleted the AtEndMkIII branch April 10, 2018 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants