Oops, ignore SIGALRM, not 0

This commit is contained in:
Sam Lantinga
2004-02-26 19:57:37 +00:00
parent e5326a7e96
commit ba724f0612

View File

@@ -141,7 +141,7 @@ void SDL_InstallParachute(void)
sigaction(SIGALRM, NULL, &action);
if ( action.sa_handler == SIG_DFL ) {
action.sa_handler = SIG_IGN;
sigaction(SDL_fatal_signals[i], &action, NULL);
sigaction(SIGALRM, &action, NULL);
}
#endif
#else