Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120768 Details for
Bug 151839
net/dns/bind and net-dns/bind-tools should be patched to not use SO_BSDCOMPAT flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bind-9.4.1-so_bsdcompat.patch
bind-9.4.1-so_bsdcompat.patch (text/plain), 1.18 KB, created by
Conrad Kostecki
on 2007-05-31 13:18:25 UTC
(
hide
)
Description:
bind-9.4.1-so_bsdcompat.patch
Filename:
MIME Type:
Creator:
Conrad Kostecki
Created:
2007-05-31 13:18:25 UTC
Size:
1.18 KB
patch
obsolete
>--- lib/isc/unix/socket.c.orig 2007-05-31 14:52:05.000000000 +0200 >+++ lib/isc/unix/socket.c 2007-05-31 14:52:33.000000000 +0200 >@@ -1398,7 +1398,7 @@ > { > isc_socket_t *sock = NULL; > isc_result_t result; >-#if defined(USE_CMSG) || defined(SO_BSDCOMPAT) >+#if defined(USE_CMSG) > int on = 1; > #endif > #if defined(SO_RCVBUF) >@@ -1492,21 +1492,6 @@ > return (ISC_R_UNEXPECTED); > } > >-#ifdef SO_BSDCOMPAT >- if (type != isc_sockettype_unix && >- setsockopt(sock->fd, SOL_SOCKET, SO_BSDCOMPAT, >- (void *)&on, sizeof(on)) < 0) { >- isc__strerror(errno, strbuf, sizeof(strbuf)); >- UNEXPECTED_ERROR(__FILE__, __LINE__, >- "setsockopt(%d, SO_BSDCOMPAT) %s: %s", >- sock->fd, >- isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL, >- ISC_MSG_FAILED, "failed"), >- strbuf); >- /* Press on... */ >- } >-#endif >- > #if defined(USE_CMSG) || defined(SO_RCVBUF) > if (type == isc_sockettype_udp) {
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 151839
: 120768 |
120769