summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 03:53:28 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 03:53:28 +0000
commit1f3f143e627ba38e05da328670a80b3ac8712e51 (patch)
treeaa6614de58d63d277af13a170c26a7709218322d /resolv
parent3db04c6ff75614f146c5b5152313dd17a7419468 (diff)
downloadglibc-1f3f143e627ba38e05da328670a80b3ac8712e51.tar.gz
glibc-1f3f143e627ba38e05da328670a80b3ac8712e51.tar.xz
glibc-1f3f143e627ba38e05da328670a80b3ac8712e51.zip
Update.
2002-08-02  Ulrich Drepper  <drepper@redhat.com>

	* cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]:
	Don't use p_libc_specific element in thread descriptor.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/nss_dns/dns-host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index f5e3058cbd..77441f7589 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Extended from original form by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -233,7 +233,7 @@ _nss_dns_gethostbyaddr_r (const void *addr, socklen_t len, int af,
     char linebuffer[0];
   } *host_data = (struct host_data *) buffer;
   querybuf host_buffer;
-  char qbuf[MAXDNAME+1], *qp;
+  char qbuf[MAXDNAME+1], *qp = NULL;
   size_t size;
   int n, status;