comparison lib-src/gnuclient.c @ 292:6cb5e14cd98e r21-0b44

Import from CVS: tag r21-0b44
author cvs
date Mon, 13 Aug 2007 10:37:15 +0200
parents 57709be46d1b
children 4b85ae5eabfb
comparison
equal deleted inserted replaced
291:7aa74ac42bd2 292:6cb5e14cd98e
121 { 121 {
122 /* Set up signal handler to pass relevant signals to emacs process. 122 /* Set up signal handler to pass relevant signals to emacs process.
123 We used to send SIGSEGV, SIGBUS, SIGPIPE, SIGILL and others to 123 We used to send SIGSEGV, SIGBUS, SIGPIPE, SIGILL and others to
124 Emacs, but I think it's better not to. I can see no reason why 124 Emacs, but I think it's better not to. I can see no reason why
125 Emacs should SIGSEGV whenever gnuclient SIGSEGV-s, etc. */ 125 Emacs should SIGSEGV whenever gnuclient SIGSEGV-s, etc. */
126 signal (SIGHUP, pass_signal_to_emacs);
127 signal (SIGQUIT, pass_signal_to_emacs); 126 signal (SIGQUIT, pass_signal_to_emacs);
128 signal (SIGINT, pass_signal_to_emacs); 127 signal (SIGINT, pass_signal_to_emacs);
129 #ifdef SIGWINCH 128 #ifdef SIGWINCH
130 signal (SIGWINCH, pass_signal_to_emacs); 129 signal (SIGWINCH, pass_signal_to_emacs);
131 #endif 130 #endif