Do not tickle glib SIGCHLD handling if Cygwin.
commitac4ab81af47d64a4d158ae857e58d53a1de63461
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2013 14:47:52 +0000 (27 07:47 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2013 14:47:52 +0000 (27 07:47 -0700)
tree745d14ba3ad081c278cc17e1671a439c1f979c31
parente78f19b85cf9ce3d69aee3b814ad831934939655
Do not tickle glib SIGCHLD handling if Cygwin.

This mostly consists of undoing recent changes.
* callproc.c (Fcall_process):
* process.c (create_process):
Do not worry about catching SIGCHLD here, undoing previous change.
* nsterm.m (ns_term_init): Re-catch SIGCHLD, undoing previous change.
* process.c, process.h (catch_child_signal):
No longer extern if !NS_IMPL_GNUSTEP, undoing 06-22 change.
* process.c (catch_child_handler): Don't worry about being called
lazily and do not assume caller has blocked SIGCHLD, undoing
previous change.  Move first-time stuff back to
init_process_emacs, undoing 06-22 change.  If CYGWIN, do not
tickle glib, as that causes Cygwin bootstrap to fail.  Do not
set lib_child_handler if it's already initialized, which may
help avoid problems on GNUStep.
src/ChangeLog
src/callproc.c
src/nsterm.m
src/process.c
src/process.h