summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-27 03:45:55 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-27 03:45:55 +0000
commitec3460e062426cde812209b9858423db09eba965 (patch)
treecf9557baff795df64745b09e793353a0fcd09d78 /mplayer.c
parent1f8a7b13363b5801596211914b88ca296adc83db (diff)
downloadmpv-ec3460e062426cde812209b9858423db09eba965.tar.bz2
mpv-ec3460e062426cde812209b9858423db09eba965.tar.xz
Allow to disable crasj sighandler to enable creation of coredump files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5368 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 598d959e06..2e4052ee7b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -726,12 +726,14 @@ current_module = NULL;
signal(SIGINT,exit_sighandler); // Interrupt from keyboard
signal(SIGQUIT,exit_sighandler); // Quit from keyboard
+#ifdef ENABLE_SIGHANDLER
// fatal errors:
signal(SIGBUS,exit_sighandler); // bus error
signal(SIGSEGV,exit_sighandler); // segfault
signal(SIGILL,exit_sighandler); // illegal instruction
signal(SIGFPE,exit_sighandler); // floating point exc.
signal(SIGABRT,exit_sighandler); // abort()
+#endif
// ******************* Now, let's see the per-file stuff ********************