From: Juergen K. <jk...@us...> - 2003-01-29 19:58:10
|
Update of /cvsroot/xine/xine-ui/src/fb In directory sc8-pr-cvs1:/tmp/cvs-serv13840/src/fb Modified Files: main.c Log Message: SIGSTKFLT is a non-standard signal, do not trap it on platforms that don't have it. Index: main.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/fb/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- main.c 29 Jan 2003 01:21:15 -0000 1.4 +++ main.c 29 Jan 2003 19:58:07 -0000 1.5 @@ -203,10 +203,15 @@ static void install_abort(void) { - int trapped[] = { SIGINT, SIGQUIT, SIGILL, - SIGFPE, SIGKILL, SIGBUS, - SIGSEGV, SIGSYS, SIGPIPE, - SIGTERM, SIGSTKFLT }; + static int trapped[] = { + SIGINT, SIGQUIT, SIGILL, + SIGFPE, SIGKILL, SIGBUS, + SIGSEGV, SIGSYS, SIGPIPE, + SIGTERM, +#ifdef SIGSTKFLT + SIGSTKFLT, +#endif + }; int i; for(i = 0; i < sizeof(trapped)/sizeof(int); i++) |