From a35cbc05374d8b3fb91f660c6f2683bd33e538b9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 22 Jan 1998 23:29:21 +0000 Subject: Address Dave Bodenstab's bug. svn path=/trunk/; revision=1601 --- NEWS | 4 +++- driver.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d87093ba..8a003856 100644 --- a/NEWS +++ b/NEWS @@ -16,7 +16,7 @@ Release Notes: ------------------------------------------------------------------------------ -fetchmail-4.3.6 () +fetchmail-4.4.0 () * Improved RPM packaging with correct grouping and an icon. * Fixed another minor bug in handling of `expunge 0'. * Kent Robotti sent a new version of fetchsetup. @@ -31,6 +31,8 @@ fetchmail-4.3.6 () * If link can't find the bind library, force `no dns' on all connections. * Change name of ordinary-user lockfile so .fetchmail can be used as a logging directory. +* Close pipe to MDA when we get a nonresponse timeout. This should + prevent MDA zombies from piling up when we have errors. There are 271 people on fetchmail-friends and 119 on fetchmail-announce. diff --git a/driver.c b/driver.c index d89d278d..e9c5aedb 100644 --- a/driver.c +++ b/driver.c @@ -1509,6 +1509,8 @@ const struct method *proto; /* protocol method table */ close(ctl->smtp_socket); if (sock != -1) close(sock); + if (sinkfp) + pclose(sinkfp); ok = PS_ERROR; } else -- cgit v1.2.3