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

Correct macOS version support check for unified_log.mm #7713

Conversation

Smjert
Copy link
Member

@Smjert Smjert commented Aug 3, 2022

The @available check cannot be negated; the compiler won't recognize it
and it will warn about non compatible APIs used if this runs
on macOS < 10.15.

Fix a tautological comparison on the constraints operators
used for timestamp.

Correct spelling of sentinel.

@Smjert Smjert added this to the 5.5.0 milestone Aug 3, 2022
@Smjert Smjert requested review from a team as code owners August 3, 2022 19:10
The @available check cannot be negated; the compiler won't recognize it
and it will warn about non compatible APIs used if this runs
on macOS < 10.15.

Fix a tautological comparison on the constraints operators
used for timestamp.

Correct spelling of sentinel.
@Smjert Smjert force-pushed the stefano/fix/unified-log-availability branch from 0e260c6 to fac1955 Compare August 3, 2022 19:11
Copy link
Member

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Bummer about the negation. This look much more nested.

@mike-myers-tob mike-myers-tob merged commit 5dc2888 into osquery:master Aug 4, 2022
@mike-myers-tob mike-myers-tob deleted the stefano/fix/unified-log-availability branch August 4, 2022 03:40
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.

None yet

3 participants