From e3be9b1951856f84d30c2903eccdf792618f71ba Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 19 Aug 2010 18:29:01 +0000 Subject: Do not call event_del() for signals after fork(), just use sigaction() directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless. --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.c') diff --git a/window.c b/window.c index 70596284..c2afc6d2 100644 --- a/window.c +++ b/window.c @@ -574,7 +574,7 @@ window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell, environ_push(env); - clear_signals(); + clear_signals(1); log_close(); if (*wp->cmd != '\0') { -- cgit