Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
dhcp.24175
0023-bind-9.9.7-Hide-IRS-resolver-function.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0023-bind-9.9.7-Hide-IRS-resolver-function.patch of Package dhcp.24175
From b6b0042631597a216df2000d747c07859afd286c Mon Sep 17 00:00:00 2001 From: Nirmoy Das <ndas@suse.de> Date: Wed, 27 Apr 2016 11:51:44 +0200 Subject: [PATCH] Hide IRS resolver function References: bsc#972907 glibc resolver works better than IRS one so rename getaddrinfo & co to irs_getaddrinfo.. --- lib/irs/getaddrinfo.c | 4 ++-- lib/irs/getnameinfo.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/irs/getaddrinfo.c b/lib/irs/getaddrinfo.c index f821635..cd4fdb6 100644 --- a/lib/irs/getaddrinfo.c +++ b/lib/irs/getaddrinfo.c @@ -190,7 +190,7 @@ static void _freeaddrinfo(struct addrinfo *ai); * service servname. */ int -getaddrinfo(const char *hostname, const char *servname, +irs_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) { struct servent *sp; @@ -1161,7 +1161,7 @@ add_ipv6(const char *hostname, int flags, struct addrinfo **aip, /*% Free address info. */ void -freeaddrinfo(struct addrinfo *ai) { +irs_freeaddrinfo(struct addrinfo *ai) { _freeaddrinfo(ai); } diff --git a/lib/irs/getnameinfo.c b/lib/irs/getnameinfo.c index ec43043..892a48a 100644 --- a/lib/irs/getnameinfo.c +++ b/lib/irs/getnameinfo.c @@ -143,7 +143,7 @@ static struct afd { } while (0) int -getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen, +irs_getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen, char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen, char *serv, IRS_GETNAMEINFO_BUFLEN_T servlen, IRS_GETNAMEINFO_FLAGS_T flags) -- 2.6.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor