The Samba-Bugzilla – Attachment 13244 Details for
Bug 12812
Solaris and MSG_NOSIGNAL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use MSG_NOSIGNAL only if available
samba.patch (text/plain), 565 bytes, created by
Albert Chin (temp failure)
on 2017-05-31 17:57:58 UTC
(
hide
)
Description:
Use MSG_NOSIGNAL only if available
Filename:
MIME Type:
Creator:
Albert Chin (temp failure)
Created:
2017-05-31 17:57:58 UTC
Size:
565 bytes
patch
obsolete
>Index: source3/lib/messages_dgm.c >=================================================================== >--- source3/lib/messages_dgm.c.orig 2017-05-31 17:57:04.979073864 +0000 >+++ source3/lib/messages_dgm.c 2017-05-31 17:57:12.692353647 +0000 >@@ -356,11 +356,16 @@ > > { > uint8_t buf[fdlen]; >+ int flags = 0; >+ >+#ifdef MSG_NOSIGNAL >+ flags = MSG_NOSIGNAL; >+#endif > > msghdr_prep_fds(&msg, buf, fdlen, fds, num_fds); > > do { >- ret = sendmsg(sock, &msg, MSG_NOSIGNAL); >+ ret = sendmsg(sock, &msg, flags); > } while ((ret == -1) && (errno == EINTR)); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12812
: 13244