The Samba-Bugzilla – Attachment 11885 Details for
Bug 11765
Build failure on AIX 7.1.3, lib/resolv_wrapper/resolv_wrapper.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-rwrap-AIX-compatibility-fix-missing-headers-bad-dire.patch (text/plain), 1.21 KB, created by
Guillaume Xavier Taillon (mail address dead)
on 2016-03-01 16:29:44 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Guillaume Xavier Taillon (mail address dead)
Created:
2016-03-01 16:29:44 UTC
Size:
1.21 KB
patch
obsolete
>From 5e8b6ca8fb5ecbb2b5eb3de6b41d80eaa20eabb2 Mon Sep 17 00:00:00 2001 >From: Guillaume Xavier Taillon <gtaillon@ca.ibm.com> >Date: Tue, 1 Mar 2016 11:13:34 -0500 >Subject: [PATCH] rwrap: AIX compatibility fix, missing headers, bad directive > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11765 >Signed-off-by: Guillaume Xavier Taillon <gtaillon@ca.ibm.com> >--- > lib/resolv_wrapper/resolv_wrapper.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/lib/resolv_wrapper/resolv_wrapper.c b/lib/resolv_wrapper/resolv_wrapper.c >index 10af360..d96f1f1 100644 >--- a/lib/resolv_wrapper/resolv_wrapper.c >+++ b/lib/resolv_wrapper/resolv_wrapper.c >@@ -36,7 +36,9 @@ > > #include <errno.h> > #include <arpa/inet.h> >+#include <arpa/nameser.h> > #include <netinet/in.h> >+#include <sys/socket.h> > #include <sys/types.h> > #include <stdarg.h> > #include <stdlib.h> >@@ -1404,8 +1406,8 @@ static int rwrap_res_ninit(struct __res_state *state) > state->nscount = 0; > memset(state->nsaddr_list, 0, sizeof(state->nsaddr_list)); > >- state->_u._ext.nscount = 0; > #ifdef HAVE_RESOLV_IPV6_NSADDRS >+ state->_u._ext.nscount = 0; > for (i = 0; i < state->_u._ext.nscount; i++) { > SAFE_FREE(state->_u._ext.nsaddrs[i]); > } >-- >1.7.1 >
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 11765
: 11885