Commit 2de7499a authored by Sam Lantinga's avatar Sam Lantinga

Oops, ignore SIGALRM, not 0

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40862
parent a967e79e
...@@ -141,7 +141,7 @@ void SDL_InstallParachute(void) ...@@ -141,7 +141,7 @@ void SDL_InstallParachute(void)
sigaction(SIGALRM, NULL, &action); sigaction(SIGALRM, NULL, &action);
if ( action.sa_handler == SIG_DFL ) { if ( action.sa_handler == SIG_DFL ) {
action.sa_handler = SIG_IGN; action.sa_handler = SIG_IGN;
sigaction(SDL_fatal_signals[i], &action, NULL); sigaction(SIGALRM, &action, NULL);
} }
#endif #endif
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment