diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-10 11:28:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:56:54 -0500 |
commit | e6023d44bc3290e05dfd155b083569676cf969ab (patch) | |
tree | f1a005acde4c69cf2897b51ae516da6920dfd613 /source4 | |
parent | 983d5afeadee2cb35de764a8bb6ffae5e35e9571 (diff) | |
download | samba-e6023d44bc3290e05dfd155b083569676cf969ab.tar.gz samba-e6023d44bc3290e05dfd155b083569676cf969ab.tar.bz2 samba-e6023d44bc3290e05dfd155b083569676cf969ab.zip |
r14140: block SIGPIPE in smbtorture
hopefully this fixed the problems with BASE-NEGNOWAIT
metze
(This used to be commit 45441954d02a3032782477f9dd6d0bc6305aa030)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/torture.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |