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:
parent
ee57c76a68
commit
777b4b0214
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user