-
Notifications
You must be signed in to change notification settings - Fork 674
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
SOCK_NONBLOCK should re-export libc::SOCK_NONBLOCK #244
Comments
I just noticed that you have a dependency to I'm happy to submit a PR for it when it's available in |
Thanks for taking a look. Bringing in the value from |
Alex has already merged the change into |
There's no release out with it yet, from what I could see, but thanks for tracking it! |
@jamperry I just checked, both your commits made it into libc 0.2.6 which is out. |
@jamperry Any interest in filing a PR for this? Seems pretty straightforward since the constant is properly defined in libc. |
I believe this is resolved as of f067e73. |
@kamalmarhubi @Susurrus On MacOS:
|
@kamalmarhubi @Susurrus |
@kamalmarhubi @Susurrus |
…LOEXEC` on macos and ios; ref nix-rust#244 nix-rust#861
…gate on `test_sockflag_cloexec`; ref nix-rust#244 nix-rust#861
I believe there is a bug for SOCK_NONBLOCK as the value is not the same for all architectures so will break if it's used on a non-x86 architecture - like MIPS. For example the flag value is 128 on MIPS.
The text was updated successfully, but these errors were encountered: