Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libwrap Pull up revision 1.11 (requested by mycroft):



details:   https://anonhg.NetBSD.org/src/rev/613da15eee08
branches:  netbsd-1-4
changeset: 470150:613da15eee08
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:01:27 2000 +0000

description:
Pull up revision 1.11 (requested by mycroft):
  Always do the errno indirection hack, so that non-threaded
  libraries get the right errno value when linked with -lpthread.
  This means "always include <errno.h> and never declare errno
  yourself".

diffstat:

 lib/libwrap/hosts_access.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 9524cdd35120 -r 613da15eee08 lib/libwrap/hosts_access.c
--- a/lib/libwrap/hosts_access.c        Sun Jan 23 12:01:19 2000 +0000
+++ b/lib/libwrap/hosts_access.c        Sun Jan 23 12:01:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hosts_access.c,v 1.5 1999/01/18 20:21:19 christos Exp $        */
+/*     $NetBSD: hosts_access.c,v 1.5.2.1 2000/01/23 12:01:27 he Exp $  */
 
  /*
   * This module implements a simple access control language that is based on
@@ -24,7 +24,7 @@
 #if 0
 static char sccsid[] = "@(#) hosts_access.c 1.20 96/02/11 17:01:27";
 #else
-__RCSID("$NetBSD: hosts_access.c,v 1.5 1999/01/18 20:21:19 christos Exp $");
+__RCSID("$NetBSD: hosts_access.c,v 1.5.2.1 2000/01/23 12:01:27 he Exp $");
 #endif
 #endif
 
@@ -47,8 +47,6 @@
 #include <rpcsvc/ypclnt.h>
 #endif
 
-extern int errno;
-
 #ifndef        INADDR_NONE
 #define        INADDR_NONE     (-1)            /* XXX should be 0xffffffff */
 #endif



Home | Main Index | Thread Index | Old Index