diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-05-06 11:07:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-05-06 11:51:52 +0200 |
commit | 4ae33f76d6b33ea0bedfa36050d44c88d08c2823 (patch) | |
tree | e520094ace1228ac5d1c15f8657bc3b44ba44272 /module/srfi/srfi-37.scm | |
parent | 3b76a30e3ca1f0b7ee7944836c2fc5660596b3bd (diff) | |
download | guile-4ae33f76d6b33ea0bedfa36050d44c88d08c2823.tar.gz |
‘system*’ no longer changes SIGINT and SIGQUIT handlers.
Fixes <https://bugs.gnu.org/70144>.
Fixes a bug whereby ‘system*’ would change the handler of SIGINT and
SIGQUIT to SIG_IGN in a racy fashion, possibly competing with calls to
‘sigaction’ in Scheme in another thread.
This is a followup to 527c257d6e0ad0480a859f69e9dcf3b0c7aad76e, which
witch to ‘posix_spawn’, ensuring signals are properly dealt with when
creating child processes.
* libguile/posix.c (restore_sigaction, scm_dynwind_sigaction): Remove.
(scm_system_star): Remove sigaction dynwind around call to
‘piped_process’.
* NEWS: Update.
Reported-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'module/srfi/srfi-37.scm')
0 files changed, 0 insertions, 0 deletions