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

Don't call close(2) more than once #508

Merged
merged 1 commit into from
Dec 24, 2019
Merged

Don't call close(2) more than once #508

merged 1 commit into from
Dec 24, 2019

Conversation

xiaosuo
Copy link
Contributor

@xiaosuo xiaosuo commented Dec 21, 2019

Don't call close(2) more then once, even though close(2) returns -1.

See the manual page for details.

Don't call close(2) more then once, even though close(2) returns -1.

See the manual page for details.
Copy link
Collaborator

@shinh shinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@shinh shinh merged commit 445af7e into google:master Dec 24, 2019
@xiaosuo xiaosuo deleted the close branch January 2, 2020 03:36
@sergiud sergiud added this to the 0.5 milestone Mar 30, 2021
@sergiud sergiud mentioned this pull request May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants