From 5800fc6b879e5ed171c6d8c7d69712dfad1b24fa Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 21 Apr 2000 06:53:57 +0000 Subject: Attempt to prevent the SIGPIPE infinite loop. svn path=/trunk/; revision=2883 --- driver.c | 1 + 1 file changed, 1 insertion(+) (limited to 'driver.c') 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; -- cgit v1.2.3