svn commit: samba r7705 - in branches/SAMBA_4_0/source/libcli/raw: .

tridge at samba.org tridge at samba.org
Sat Jun 18 00:30:50 GMT 2005


Author: tridge
Date: 2005-06-18 00:30:49 +0000 (Sat, 18 Jun 2005)
New Revision: 7705

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

Log:
prevent SIGPIPE. this is what causes BASE-NEGNOWAIT to sometimes fail

Modified:
   branches/SAMBA_4_0/source/libcli/raw/clisocket.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/clisocket.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2005-06-18 00:02:36 UTC (rev 7704)
+++ branches/SAMBA_4_0/source/libcli/raw/clisocket.c	2005-06-18 00:30:49 UTC (rev 7705)
@@ -63,6 +63,9 @@
 		return NULL;
 	}
 
+	/* ensure we don't get SIGPIPE */
+	BlockSignals(True,SIGPIPE);
+
 	return sock;
 }
 



More information about the samba-cvs mailing list