svn commit: samba r14140 - in branches/SAMBA_4_0/source/torture: .

metze at samba.org metze at samba.org
Fri Mar 10 11:28:47 GMT 2006


Author: metze
Date: 2006-03-10 11:28:47 +0000 (Fri, 10 Mar 2006)
New Revision: 14140

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14140

Log:
block SIGPIPE in smbtorture

hopefully this fixed the problems with BASE-NEGNOWAIT

metze
Modified:
   branches/SAMBA_4_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c	2006-03-10 11:25:19 UTC (rev 14139)
+++ branches/SAMBA_4_0/source/torture/torture.c	2006-03-10 11:28:47 UTC (rev 14140)
@@ -2598,6 +2598,9 @@
 	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);
 



More information about the samba-cvs mailing list