git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1011b1b
)
r7705: prevent SIGPIPE. this is what causes BASE-NEGNOWAIT to sometimes fail
author
Andrew Tridgell
<tridge@samba.org>
Sat, 18 Jun 2005 00:30:49 +0000
(
00:30
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:24 +0000
(13:18 -0500)
source/libcli/raw/clisocket.c
patch
|
blob
|
history
diff --git
a/source/libcli/raw/clisocket.c
b/source/libcli/raw/clisocket.c
index 7cb7040131071249c9218aa100b650b038ec9ae4..d6007ec8ba3977cced1eae05df0e093d865b6f13 100644
(file)
--- a/
source/libcli/raw/clisocket.c
+++ b/
source/libcli/raw/clisocket.c
@@
-63,6
+63,9
@@
struct smbcli_socket *smbcli_sock_init(TALLOC_CTX *mem_ctx,
return NULL;
}
+ /* ensure we don't get SIGPIPE */
+ BlockSignals(True,SIGPIPE);
+
return sock;
}