Skip to content

Handle EINTR throughout libnative #11304

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

Closed
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

Closes #11214

#[cfg(unix)]
fn retry(f: || -> libc::c_int) -> IoResult<libc::c_int> {
fn retry(f: || -> libc::c_int) -> libc::c_int {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe #[inline] this function, just to be sure?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

bors added a commit that referenced this pull request Jan 5, 2014
@bors bors closed this Jan 5, 2014
@alexcrichton alexcrichton deleted the eintr branch January 6, 2014 07:53
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2023
[`redundant_guards`]: don't lint on float literals

Fixes rust-lang#11304

changelog: [`redundant_guards`]: don't lint on float literals

r? `@Centri3` i figured you are probably a good reviewer for this since you implemented the lint ^^
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.

many system calls don't handle EINTR
3 participants