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

fcntl F_DUPFD_CLOEXEC has different values on Solaris and Illumos #2900

Merged
merged 1 commit into from Sep 11, 2022

Conversation

gco
Copy link
Contributor

@gco gco commented Sep 5, 2022

No description provided.

@rust-highfive
Copy link

Some changes occurred in solarish module

cc @jclulow,@pfmooney

@rust-highfive
Copy link

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.

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// 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.

src/unix/solarish/solaris.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@jclulow jclulow left a 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!

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Sep 10, 2022

📌 Commit 89aacef has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 10, 2022

⌛ Testing commit 89aacef with merge 6ab0359...

@bors
Copy link
Contributor

bors commented Sep 11, 2022

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 6ab0359 to master...

@bors bors merged commit 6ab0359 into rust-lang:master Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants