-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fcntl F_DUPFD_CLOEXEC has different values on Solaris and Illumos #2900
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon. Please see the contribution instructions for more information. |
src/unix/solarish/illumos.rs
Outdated
@@ -42,6 +42,9 @@ pub const F_OFD_SETLKW: ::c_int = 49; | |||
pub const F_FLOCK: ::c_int = 53; | |||
pub const F_FLOCKW: ::c_int = 54; | |||
|
|||
// fcntl F_DUPFD_CLOEXEC has different values on Solaris and Illumos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// fcntl F_DUPFD_CLOEXEC has different values on Solaris and Illumos |
I would remove the comments. The separate file structure already denotes different constants for illumos and Solaris, and the file would be full of comments like this if we noted every difference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me -- thanks!
@bors r+ |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
No description provided.