summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-31 08:36:05 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-31 08:36:05 +0000
commit4317f9e1377c92493459f2796c37da27c01bccf7 (patch)
tree37f8f4e349b3dfdd41a31ebd0e984e645c698bbc /resolv/netdb.h
parent0491011bdeaa994079912b9955a1fbf7e6fb5c59 (diff)
downloadglibc-4317f9e1377c92493459f2796c37da27c01bccf7.tar.gz
glibc-4317f9e1377c92493459f2796c37da27c01bccf7.tar.xz
glibc-4317f9e1377c92493459f2796c37da27c01bccf7.zip
Update.
	* nss/nsswitch.c (__nss_lookup): Adjust comment.
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index fdfc056750..9282be334a 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it
@@ -49,13 +49,11 @@ extern int h_errno;
 extern int *__h_errno_location __P ((void)) __attribute__ ((__const__));
 
 #ifdef _LIBC
-/* Retain some binary compatibility with old libraries by having both the
-   global variable and the per-thread variable set on error.  */
 # ifdef _LIBC_REENTRANT
 static inline int
 __set_h_errno (int __err)
 {
-  return *__h_errno_location () = h_errno = __err;
+  return *__h_errno_location () = __err;
 }
 # else
 #  define __set_h_errno(x) (h_errno = (x))