Skip to content

FoundationEssentials: correct the use of open on Windows #607

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 1 commit into from
May 14, 2024

Conversation

compnerd
Copy link
Member

open is a variatic function and does not take the same permission modes on Windows. Prefer to use _sopen_s to allow us to have a non-variadic signature and repair the runtime on Windows.

`open` is a variatic function and does not take the same permission
modes on Windows. Prefer to use `_sopen_s` to allow us to have a
non-variadic signature and repair the runtime on Windows.
@compnerd compnerd requested review from parkera and jmschonfeld May 14, 2024 14:48
@compnerd
Copy link
Member Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit ff677ad into swiftlang:main May 14, 2024
@compnerd compnerd deleted the open branch May 14, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants