diff options
author | Jürgen Hötzel <juergen@archlinux.org> | 2022-03-04 10:08:14 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-04-07 12:54:26 +0200 |
commit | 98abf01fd681931f8870569ff559b547579d7cef (patch) | |
tree | 8aaa9ff2b59348a431625c6a4b8d969c716c5d92 /src/json.c | |
parent | aab36e18950e23100718eaedb14ef9176f5d3da2 (diff) | |
download | emacs-98abf01fd681931f8870569ff559b547579d7cef.tar.gz emacs-98abf01fd681931f8870569ff559b547579d7cef.tar.bz2 emacs-98abf01fd681931f8870569ff559b547579d7cef.zip |
Use correct signal oldset in posix_spawn implementation
posix_spawn was restoring the wrong signal set, which still had
SIGCHLD and SIGINT masked, causing problems with child processes that
spawned child processes. (Bug#54667)
See the thread ending at
https://lists.gnu.org/archive/html/emacs-devel/2022-03/msg00067.html
for more details.
* src/callproc.c (emacs_spawn): Pass oldset parameter.
(emacs_posix_spawn_init_attributes): Use correct oldset.
(emacs_posix_spawn_init): Remove intermediate function.
(cherry picked from commit 8103b060d89ac63a12c439087bd46c30da72cd97)
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions