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

Fix detecting EOF #35

Merged
merged 1 commit into from
Aug 20, 2021
Merged

Fix detecting EOF #35

merged 1 commit into from
Aug 20, 2021

Conversation

sthibaul
Copy link
Contributor

@sthibaul sthibaul commented Aug 19, 2021

fgets returns NULL on EOF as well, so we need to call feof to properly
detect EOF.

fgets returns NULL on EOF as well, so we need to call feof to properly
detect EOF.
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