-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix OpenBSD clause. #5160
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
Fix OpenBSD clause. #5160
Conversation
OpenBSD, as the comment string in _CFPosixSpawnFileActionsChdir says, doesn't have posix_spawn_file_actions_addchdir. Therefore, don't link against it; just return ENOSYS like other similarly situated platforms do.
@swift-ci please test |
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.
Seems fine to me.
I think the Linux ci failure is unrelated, please re-run on my behalf. |
@swift-ci please test Linux platform |
Please merge on my behalf if there are no other blockers, thank you! |
…tate The refactoring in #5160 moved a comment around such that it appeared as if QNX supports this function - it does not. Clarify the situation.
@@ -2300,8 +2304,6 @@ CF_EXPORT int _CFPosixSpawnFileActionsChdir(_CFPosixSpawnFileActionsRef file_act | |||
// Standardized posix_spawn_file_actions_addchdir version (POSIX.1-2024, June 2024) available in: | |||
// - Solaris 11.4 (August 2018) | |||
// - NetBSD 10.0 (March 2024) | |||
// Currently missing as of: | |||
// - OpenBSD 7.5 (April 2024) |
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.
Just a heads up, this adjustment of the comment made it look confusingly like QNX 8 supports posix_spawn_file_actions_addchdir (it does not). Got confused when I came back to look... fixing in #5192
OpenBSD, as the comment string in _CFPosixSpawnFileActionsChdir says, doesn't have posix_spawn_file_actions_addchdir. Therefore, don't link against it; just return ENOSYS like other similarly situated platforms do.