Chain glib's SIGCHLD handler from Emacs's (Bug#14474).
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2013 17:04:13 +0000 (10:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Jun 2013 17:04:13 +0000 (10:04 -0700)
commitf019a684847950c24f5dd8ee8cfdd40d3511ba83
tree1226d99c68968dd9b51cc0c15eba0e3c4ce670d0
parent28f5da6df34eb64677e25afd001c1f48b012aec7
Chain glib's SIGCHLD handler from Emacs's (Bug#14474).

* process.c (dummy_handler): New function.
(lib_child_handler): New static var.
(handle_child_signal): Invoke it.
(catch_child_signal): If a library has set up a signal handler,
save it into lib_child_handler.
(init_process_emacs): If using glib and not on Windows, tickle glib's
child-handling code so that it initializes its private SIGCHLD handler.
* syssignal.h (SA_SIGINFO): Default to 0.
* xterm.c (x_term_init): Remove D-bus hack that I installed on May
31; it should no longer be needed now.
src/ChangeLog
src/process.c
src/syssignal.h
src/xterm.c