From 9604bc9a9f6a4f308fe8e4e5a11247b90a9d61b7 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 5 May 2013 20:30:51 +0200 Subject: Revert "31372: Do not block SIGWINCH for child processes" This reverts commit f8ab02ad5f4226e46ab54e681a3e0404fdc1a9a6. As Bart suggested in 31375. --- Src/exec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Src') diff --git a/Src/exec.c b/Src/exec.c index c71f3f331..fa148756b 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -303,13 +303,11 @@ zfork(struct timeval *tv) zerr("fork failed: %e", errno); return -1; } - if (!pid) { - winch_unblock(); #ifdef HAVE_GETRLIMIT + if (!pid) /* set resource limits for the child process */ setlimits(NULL); #endif - } return pid; } -- cgit 1.4.1