From 56040be3468e655256362c7d5b230b15236b9dd2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 29 Aug 2010 14:42:11 +0000 Subject: Sync OpenBSD patchset 751: 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window.c') diff --git a/window.c b/window.c index d7f55a1a..b532af5d 100644 --- a/window.c +++ b/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.134 2010-07-17 14:38:13 tcunha Exp $ */ +/* $Id: window.c,v 1.135 2010-08-29 14:42:11 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -572,7 +572,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