Oops, ignore SIGALRM, not 0

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40862
This commit is contained in:
Sam Lantinga 2004-02-26 19:57:37 +00:00
parent a967e79e6b
commit 2de7499a4e

View file

@ -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