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

Enable specs for close_on_exec on Windows #14716

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

straight-shoota
Copy link
Member

These specs be enabled on Windows as well to ensure the expected behaviour (even though there's no mechanism for changing the value).

@ysbaddaden
Copy link
Contributor

Looks good, but I would wait a bit for #14717 to decide if we change the default (IMO: we should) and do it in one go.

@straight-shoota
Copy link
Member Author

straight-shoota commented Jun 17, 2024

I'd actually prefer to merge this first, and then the PR for #14717 on top. That way the effective change in behaviour will be explicitly documented in the spec changes.

Also there's really no reason to postpone this addition. It's merely enabling specs for current behaviour. And as such is a different concern than changing behaviour.

Copy link
Contributor

@ysbaddaden ysbaddaden left a comment

Choose a reason for hiding this comment

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

As you want.

We could consider the current behavior to be faulty: enabling the specs fails on Windows because the default there is false, so for the specs to pass and be correct, the behavior must change (aka: fix the implementation, not the spec) :)

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.

2 participants