From 4a102127d8e5e7ed54bbeaea94b8941020c0940e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 Feb 2004 19:57:37 +0000 Subject: [PATCH] Oops, ignore SIGALRM, not 0 --- src/SDL_fatal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL_fatal.c b/src/SDL_fatal.c index f6eae2d1b..74f90ed7d 100644 --- a/src/SDL_fatal.c +++ b/src/SDL_fatal.c @@ -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