From e6023d44bc3290e05dfd155b083569676cf969ab Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 10 Mar 2006 11:28:47 +0000 Subject: r14140: block SIGPIPE in smbtorture hopefully this fixed the problems with BASE-NEGNOWAIT metze (This used to be commit 45441954d02a3032782477f9dd6d0bc6305aa030) --- source4/torture/torture.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/torture/torture.c') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 455cadd3a1..9955c9e958 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2598,6 +2598,9 @@ static void max_runtime_handler(int sig) setbuffer(stdout, NULL, 0); #endif + /* we are never interested in SIGPIPE */ + BlockSignals(True,SIGPIPE); + pc = poptGetContext("smbtorture", argc, (const char **) argv, long_options, POPT_CONTEXT_KEEP_FIRST); -- cgit