[MPlayer-cvslog] CVS: main mencoder.c,1.298,1.299
Alex Beregszaszi
syncmail at mplayerhq.hu
Mon Jul 18 21:59:05 CEST 2005
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv29758
Modified Files:
mencoder.c
Log Message:
catch HUP and PIPE signals aswell. Patch by Sergey Khlutchin (@gmail.com)
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -r1.298 -r1.299
--- mencoder.c 17 Jul 2005 19:40:05 -0000 1.298
+++ mencoder.c 18 Jul 2005 19:59:03 -0000 1.299
@@ -936,6 +936,8 @@
signal(SIGINT,exit_sighandler); // Interrupt from keyboard
signal(SIGQUIT,exit_sighandler); // Quit from keyboard
signal(SIGTERM,exit_sighandler); // kill
+signal(SIGHUP,exit_sighandler); // broken terminal line
+signal(SIGPIPE,exit_sighandler); // broken pipe
timer_start=GetTimerMS();
} // if (!curfile) // if this was the first file.
More information about the MPlayer-cvslog
mailing list