[MPlayer-cvslog] r31432 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Wed Jun 16 19:33:17 CEST 2010

Author: reimar
Date: Wed Jun 16 19:33:17 2010
New Revision: 31432

SIGPIPE is not really a crash, try to exit cleanly in case we receive one.
Particularly in the network code it would be better to ignore it, but
some window managers use it to indicate a close request.


Modified: trunk/mplayer.c
--- trunk/mplayer.c	Wed Jun 16 17:02:52 2010	(r31431)
+++ trunk/mplayer.c	Wed Jun 16 19:33:17 2010	(r31432)
@@ -847,6 +847,7 @@ static void exit_sighandler(int x){
   case SIGINT:
+  case SIGPIPE:
   case SIGQUIT:
   case SIGTERM:
   case SIGKILL:

More information about the MPlayer-cvslog mailing list