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 stdio.h puts(), should add a trailing newline per C specs (!) #29

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Fix stdio.h puts(), should add a trailing newline per C specs (!) #29

merged 1 commit into from
Oct 23, 2023

Conversation

tkchia
Copy link
Contributor

@tkchia tkchia commented Oct 23, 2023

No description provided.

@maximecb maximecb merged commit d7f4434 into maximecb:main Oct 23, 2023
1 check failed
@maximecb
Copy link
Owner

Thanks for the fix :)

@tkchia
Copy link
Contributor Author

tkchia commented Oct 23, 2023

Thanks @maximecb ! Though I just discovered that many of the example programs seem to assume that puts() does not add a newline. I am not quite sure about the best way to fix them.

Thank you!

@maximecb
Copy link
Owner

I looked at that. In the chess program, all the puts are for debugging and commented so it doesn't matter. Looks like the situation is similar in basic.c, so I think no need to change anything there.

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.

2 participants