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

options/ansi: provide _setjmp and _longjmp in setjmp.h #1233

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

lzcunt
Copy link
Contributor

@lzcunt lzcunt commented Jan 26, 2025

This patch makes setjmp.h better conform to both ISO C and POSIX-2017.1 standards.

setjmp/_setjmp/longjmp/_longjmp currently act how they act in glibc systems (they both don't save the signal mask), if there is a use case for it we could also support the BSD convention (where setjmp/longjmp save the signal mask but the underscore variants don't)

@lzcunt

This comment was marked as resolved.

Copy link
Member

@no92 no92 left a comment

Choose a reason for hiding this comment

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

LGTM

@mintsuki mintsuki added this pull request to the merge queue Feb 6, 2025
Merged via the queue into managarm:master with commit b475232 Feb 6, 2025
39 checks passed
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.

3 participants