]> git.eshelyaron.com Git - emacs.git/commit
Initialize child signal handling before posix_spawn too.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Nov 2022 20:24:26 +0000 (13:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Nov 2022 20:25:11 +0000 (13:25 -0700)
commit05f5d978ae70c4849a5c47865d62301d27317a8a
tree73b8cd558c85f42bcf4daf9c7d18e45738d8ed58
parent195f0e00d743e59c2e5ab0a6fa0ac564e6221578
Initialize child signal handling before posix_spawn too.

Problem reported by Tino Calancha (Bug#58960).
* src/callproc.c (call_process): Initialize SIGCHLD handling
before possibly creating a child with emacs_span.  This need not
be in the critical section that calls emacs_spawn, so do it
outside the critical section.
* src/process.c (child_signal_init): Now extern.
src/callproc.c
src/lisp.h
src/process.c