diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-21 10:57:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-21 18:59:50 +0000 |
| commit | dd5c31657ee934c52f24fd77778c56468d668b45 (patch) | |
| tree | 822f90cf94de20b51a36a1d0ca0a7ae8deaa9e29 /fdm.c | |
| parent | Merge branch 'refactor-subsurface-creation' (diff) | |
spawn/slave: restore signal mask after fork
slave: no need to restore signal handlers; they are automatically
restored as long as they are not SIG_IGN (which they never are in
foot).
spawn(): restore signal mask after fork. This fixes an issue where a
terminal spawned with ctrl+shift+n did not terminate when its shell
exited.
Closes #366
Diffstat (limited to 'fdm.c')
| -rw-r--r-- | fdm.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -27,7 +27,6 @@ struct fd_handler { }; struct sig_handler { - int signo; fdm_signal_handler_t callback; void *callback_data; }; |
