Oops, ignore SIGALRM, not 0
authorSam Lantinga <slouken@libsdl.org>
Thu, 26 Feb 2004 19:57:37 +0000
changeset 861863da1c38c7e
parent 860 2bac79e27868
child 862 f7a8b0ca2ae3
Oops, ignore SIGALRM, not 0
src/SDL_fatal.c
     1.1 --- a/src/SDL_fatal.c	Thu Feb 26 15:12:51 2004 +0000
     1.2 +++ b/src/SDL_fatal.c	Thu Feb 26 19:57:37 2004 +0000
     1.3 @@ -141,7 +141,7 @@
     1.4  	sigaction(SIGALRM, NULL, &action);
     1.5  	if ( action.sa_handler == SIG_DFL ) {
     1.6  		action.sa_handler = SIG_IGN;
     1.7 -		sigaction(SDL_fatal_signals[i], &action, NULL);
     1.8 +		sigaction(SIGALRM, &action, NULL);
     1.9  	}
    1.10  #endif
    1.11  #else