]> git.eshelyaron.com Git - emacs.git/commit
Attempt to work around macOS vfork bug
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 07:11:48 +0000 (00:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 May 2017 07:13:27 +0000 (00:13 -0700)
commit7c951fd51832badb09055a8e177f8ec358cbbdcf
tree1b77d643aa5d2719ee7e070a82f499292d60adb3
parentdf9bec3b39b12b33db8f5a97d86797f6636e5e7d
Attempt to work around macOS vfork bug

Problem reported by YAMAMOTO Mitsuharu in:
http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00342.html
This is related to the fix for Bug#26397.
* src/callproc.c (call_process_cleanup, call_process) [!MSDOS]:
Report internal error if wait_for_termination fails.
* src/sysdep.c (get_child_status): Return -1 if waitpid is
buggy, instead of aborting.
(wait_for_termination): Return bool success value.
All callers changed.
src/callproc.c
src/sysdep.c
src/syswait.h