Skip to content

Add "x" mode option for IO.open #6081

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

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Add "x" mode option for IO.open #6081

merged 2 commits into from
Oct 17, 2023

Conversation

dearblue
Copy link
Contributor

From CRuby 2.6 feature.

This is the "x" mode (O_EXCL; exclusive create) of fopen(3) introduced in C11.

ref. https://bugs.ruby-lang.org/issues/11258

From CRuby 2.6 feature.

This is the "x" mode (`O_EXCL`; exclusive create) of `fopen(3)` introduced in C11.

ref. https://bugs.ruby-lang.org/issues/11258
@dearblue dearblue requested a review from matz as a code owner October 15, 2023 07:48
@matz matz merged commit 9553284 into mruby:master Oct 17, 2023
@dearblue dearblue deleted the open-x branch December 1, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants