changeset 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 b8175cad9b8a
children 5feea1437279
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Oct 16 10:49:04 2011 +0000
+++ b/mplayer.c	Sun Oct 16 10:49:48 2011 +0000
@@ -3002,7 +3002,7 @@
 #ifdef CONFIG_SIGHANDLER
     // fatal errors:
     signal(SIGBUS, exit_sighandler); // bus error
-#ifndef __WINE__
+#ifndef __WINE__                      // hack: the Wine executable will crash else
     signal(SIGSEGV, exit_sighandler); // segfault
 #endif
     signal(SIGILL, exit_sighandler); // illegal instruction