Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 596158 Details for
Bug 691692
mail-filter/libmilter-1.0.2 : sm_gethost.c:58:18: error: RES_USE_INET6 undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmilter-glibc-2.30.patch
libmilter-glibc-2.30.patch (text/plain), 686 bytes, created by
Hanno Böck
on 2019-11-14 18:07:47 UTC
(
hide
)
Description:
libmilter-glibc-2.30.patch
Filename:
MIME Type:
Creator:
Hanno Böck
Created:
2019-11-14 18:07:47 UTC
Size:
686 bytes
patch
obsolete
>--- a/libmilter/sm_gethost.c 2014-03-05 01:59:45.000000000 +0100 >+++ b/libmilter/sm_gethost.c 2019-11-14 18:59:41.885353232 +0100 >@@ -51,18 +51,20 @@ sm_getipnodebyname(name, family, flags, > { > bool resv6 = true; > struct hostent *h; >- >+#ifdef RES_USE_INET6 > if (family == AF_INET6) > { > /* From RFC2133, section 6.1 */ > resv6 = bitset(RES_USE_INET6, _res.options); > _res.options |= RES_USE_INET6; > } >+#endif > SM_SET_H_ERRNO(0); > h = gethostbyname(name); >+#ifdef RES_USE_INET6 > if (family == AF_INET6 && !resv6) > _res.options &= ~RES_USE_INET6; >- >+#endif > /* the function is supposed to return only the requested family */ > if (h != NULL && h->h_addrtype != family) > {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 691692
:
586000
|
586002
|
586004
|
586006
|
586008
|
596156
| 596158