Mercurial > mplayer.hg
comparison mplayer.c @ 34119:3959e81b0bcb
Add comment.
Explain why there is no SIGSEGV signal handler for the Wine build.
author | ib |
---|---|
date | Sun, 16 Oct 2011 10:49:48 +0000 |
parents | 3d7ee643b110 |
children | 5761a9a31bcb |
comparison
equal
deleted
inserted
replaced
34118:b8175cad9b8a | 34119:3959e81b0bcb |
---|---|
3000 signal(SIGQUIT, exit_sighandler); // Quit from keyboard | 3000 signal(SIGQUIT, exit_sighandler); // Quit from keyboard |
3001 signal(SIGPIPE, exit_sighandler); // Some window managers cause this | 3001 signal(SIGPIPE, exit_sighandler); // Some window managers cause this |
3002 #ifdef CONFIG_SIGHANDLER | 3002 #ifdef CONFIG_SIGHANDLER |
3003 // fatal errors: | 3003 // fatal errors: |
3004 signal(SIGBUS, exit_sighandler); // bus error | 3004 signal(SIGBUS, exit_sighandler); // bus error |
3005 #ifndef __WINE__ | 3005 #ifndef __WINE__ // hack: the Wine executable will crash else |
3006 signal(SIGSEGV, exit_sighandler); // segfault | 3006 signal(SIGSEGV, exit_sighandler); // segfault |
3007 #endif | 3007 #endif |
3008 signal(SIGILL, exit_sighandler); // illegal instruction | 3008 signal(SIGILL, exit_sighandler); // illegal instruction |
3009 signal(SIGFPE, exit_sighandler); // floating point exc. | 3009 signal(SIGFPE, exit_sighandler); // floating point exc. |
3010 signal(SIGABRT, exit_sighandler); // abort() | 3010 signal(SIGABRT, exit_sighandler); // abort() |