We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
termbox/src/termbox.c
Lines 653 to 655 in bbb64e9
select returns -1 on error, which is never checked. This makes the function unresponsive to OS signals (EINTR), among other things.
select
The text was updated successfully, but these errors were encountered:
i guess a patch/PR would be helpful.
Sorry, something went wrong.
Any reason why a simple if(result==SIG_ERR) return 0; didnt made it in yet, or shall i do that one? ^^
if(result==SIG_ERR) return 0;
SIG_ERR isn't the check.
if (result == -1 && errno == EINTR) ...
No branches or pull requests
termbox/src/termbox.c
Lines 653 to 655 in bbb64e9
select
returns -1 on error, which is never checked. This makes the function unresponsive to OS signals (EINTR), among other things.The text was updated successfully, but these errors were encountered: