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

Remove return value from pause #836

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Remove return value from pause #836

merged 1 commit into from
Jan 11, 2018

Conversation

Thomasdezeeuw
Copy link
Contributor

Follow up on #829, since that repo is now unknown to GitHub.

`pause` will always return `-1` as a result and sets `errno` to
`EINTR`, which indicates that a signal was caught by the process. Since
this is the point of `pause` return an error here makes little sense.

Closes #827.
@asomers
Copy link
Member

asomers commented Jan 11, 2018

bors r+

bors bot added a commit that referenced this pull request Jan 11, 2018
836: Remove return value from `pause` r=asomers a=Thomasdezeeuw

Follow up on #829, since that repo is now unknown to GitHub.
@bors
Copy link
Contributor

bors bot commented Jan 11, 2018

@bors bors bot merged commit 992c293 into nix-rust:master Jan 11, 2018
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