1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

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

(This used to be commit 0163d7fe99caee54c6c2bd614e4f076fd00a6176)
This commit is contained in:
Andrew Tridgell 2005-06-18 00:30:49 +00:00 committed by Gerald (Jerry) Carter
parent ee57c76a68
commit 777b4b0214

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