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

Replace the unportable signal with sigaction #38

Open
fsasm opened this issue Mar 8, 2017 · 1 comment · May be fixed by #268
Open

Replace the unportable signal with sigaction #38

fsasm opened this issue Mar 8, 2017 · 1 comment · May be fixed by #268

Comments

@fsasm
Copy link

fsasm commented Mar 8, 2017

According to the Linux manpage signal(2) the function signal should not be used as its behaviour can vary across platforms. Currently glibc mimics the BSD behaviour which implicitly uses the flag SA_RESTART. This behaviour can be different when other libc are used. Instead of signal sigaction should be used.

@marckleinebudde
Copy link
Member

Feel free to create a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants