aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-04-21 06:53:57 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-04-21 06:53:57 +0000
commit5800fc6b879e5ed171c6d8c7d69712dfad1b24fa (patch)
treebd9e6aa3d5b32a534a98eac888f8210dfff42b22
parentdb845996c8cab75cdfdd76692c4b565f338ae678 (diff)
downloadfetchmail-5800fc6b879e5ed171c6d8c7d69712dfad1b24fa.tar.gz
fetchmail-5800fc6b879e5ed171c6d8c7d69712dfad1b24fa.tar.bz2
fetchmail-5800fc6b879e5ed171c6d8c7d69712dfad1b24fa.zip
Attempt to prevent the SIGPIPE infinite loop.
svn path=/trunk/; revision=2883
-rw-r--r--driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 36a3fc88..ec03cd01 100644
--- a/driver.c
+++ b/driver.c
@@ -1487,6 +1487,7 @@ const int maxfetch; /* maximum number of messages to fetch */
if (js == THROW_SIGPIPE)
{
+ signal(SIGPIPE, SIG_IGN);
report(stdout,
_("SIGPIPE thrown from an MDA or a stream socket error\n"));
ok = PS_SOCKET;