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 implementation of fgets #97

Merged
merged 2 commits into from
Feb 12, 2021
Merged

Fix implementation of fgets #97

merged 2 commits into from
Feb 12, 2021

Conversation

shinh
Copy link
Owner

@shinh shinh commented Feb 12, 2021

It should return char*, not int. Pointed out in #96.

Also let fgets call fgetc so that the EOF hack for whitespace is used in fgets.

It should return char*, not int. Pointed out in #96.
so that the EOF hack for whitespace will be used in fgets.
@shinh shinh merged commit 2c92a18 into master Feb 12, 2021
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.

1 participant