From 2de7499a4e30b2f082eb0f3d9e1fd246a30306d6 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40862 --- 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