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

Fixes for earlier macOS #7932

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Fixes for earlier macOS #7932

merged 2 commits into from
Sep 10, 2024

Conversation

barracuda156
Copy link
Contributor

Description

This addresses two issues:

  1. Current code simply assumes libdispatch is available on macOS. This is not always true though: it does not exist prior to 10.6, and is not really tested on ppc on 10.6 (there are also potential related problem here: for example, blocks are not supported in gcc, as of now, while clang is broken on ppc).
    Instead, use libdispatch where it exists for sure and is known to work, and otherwise use genetic POSIX. The code is unchanged, this simply changes the condition so that the right implementation is picked. There is no effect for non-Apple platforms.

  2. NOTE_TRIGGER may not be available. If it is not present, but EV_TRIGGER is, use that one.

@wolfSSL-Bot
Copy link

Can one of the admins verify this patch?

@dgarske
Copy link
Contributor

dgarske commented Sep 3, 2024

Hi @barracuda156, thanks for your PR's. In order to accept a third party contribution we need a signed agreement. Please email support at wolfssl dot com to get that process started.
Thank you, David Garske, wolfSSL

@anhu
Copy link
Member

anhu commented Sep 9, 2024

Contributor agreement has been approved. We're good to move forward on this.

@dgarske dgarske requested review from SparkiDev and douzzer September 9, 2024 21:21
@dgarske dgarske assigned SparkiDev and unassigned dgarske Sep 9, 2024
@SparkiDev SparkiDev merged commit 500a3b4 into wolfSSL:master Sep 10, 2024
115 checks passed
@barracuda156 barracuda156 deleted the dispatch branch September 10, 2024 00:36
@barracuda156
Copy link
Contributor Author

@SparkiDev Thanks for merging!

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.

5 participants