diff -Nupr glibc-2.10.1.orig/glibc-compat/nss_dns/dns-host.c glibc-2.10.1.new/glibc-compat/nss_dns/dns-host.c
--- glibc-2.10.1.orig/glibc-compat/nss_dns/dns-host.c 2009-11-21 15:14:42.000000000 +0800
+++ glibc-2.10.1.new/glibc-compat/nss_dns/dns-host.c 2010-04-28 12:59:52.000000000 +0800
@@ -171,7 +171,7 @@ _nss_dns_gethostbyname2_r (const char *n
host_buffer.buf = orig_host_buffer = (querybuf *) alloca (1024);
n = __libc_res_nsearch (&_res, name, C_IN, type, host_buffer.buf->buf, 1024,
- &host_buffer.ptr);
+ &host_buffer.ptr, NULL, NULL, NULL);
if (n < 0)
{
*h_errnop = h_errno;
@@ -286,7 +286,7 @@ _nss_dns_gethostbyaddr_r (const char *ad
host_buffer.buf = orig_host_buffer = (querybuf *) alloca (1024);
n = __libc_res_nquery (&_res, qbuf, C_IN, T_PTR, host_buffer.buf->buf,
- 1024, &host_buffer.ptr);
+ 1024, &host_buffer.ptr, NULL, NULL, NULL);
if (n < 0)
{
*h_errnop = h_errno;
diff -Nupr glibc-2.10.1.orig/glibc-compat/nss_dns/dns-network.c glibc-2.10.1.new/glibc-compat/nss_dns/dns-network.c
--- glibc-2.10.1.orig/glibc-compat/nss_dns/dns-network.c 2009-11-21 15:14:42.000000000 +0800
+++ glibc-2.10.1.new/glibc-compat/nss_dns/dns-network.c 2010-04-28 13:00:03.000000000 +0800
@@ -125,7 +125,7 @@ _nss_dns_getnetbyname_r (const char *nam
net_buffer.buf = orig_net_buffer = (querybuf *) alloca (1024);
anslen = __libc_res_nsearch (&_res, qbuf, C_IN, T_PTR, net_buffer.buf->buf,
- 1024, &net_buffer.ptr);
+ 1024, &net_buffer.ptr, NULL, NULL, NULL);
if (anslen < 0)
{
if (net_buffer.buf != orig_net_buffer)
@@ -197,7 +197,7 @@ _nss_dns_getnetbyaddr_r (long net, int t
net_buffer.buf = orig_net_buffer = (querybuf *) alloca (1024);
anslen = __libc_res_nquery (&_res, qbuf, C_IN, T_PTR, net_buffer.buf->buf,
- 1024, &net_buffer.ptr);
+ 1024, &net_buffer.ptr, NULL, NULL, NULL);
if (anslen < 0)
{
if (net_buffer.buf != orig_net_buffer)
|