From: Nigel Metheringham Date: Sun, 30 Jan 2011 15:25:28 +0000 (+0000) Subject: child_open_uid: restore default SIGPIPE handler X-Git-Tag: exim-4_75_RC1~22 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/605021fc4f501f97e5ec21db406f6ffde2f68cdd child_open_uid: restore default SIGPIPE handler Fixes bug 968 Merge branch 'sigpipe-fix' of git://github.com/lp0/exim into master --- diff --git a/src/src/child.c b/src/src/child.c index 0c1fd6d64..675a91b11 100644 --- a/src/src/child.c +++ b/src/src/child.c @@ -340,6 +340,7 @@ output when things go wrong. */ if (pid == 0) { signal(SIGUSR1, SIG_IGN); + signal(SIGPIPE, SIG_DFL); if (newgid != NULL && setgid(*newgid) < 0) {