1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

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

This commit is contained in:
Andrew Tridgell
2005-06-18 00:30:49 +00:00
committed by Gerald (Jerry) Carter
parent 1011b1bf51
commit 0163d7fe99

View File

@@ -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;
}