Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSC...
authorRoland McGrath <roland@hack.frob.com>
Wed, 22 Aug 2012 23:06:53 +0000 (16:06 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 22 Aug 2012 23:06:53 +0000 (16:06 -0700)
40 files changed:
ChangeLog
gshadow/getsgent.c
gshadow/getsgent_r.c
gshadow/getsgnam.c
gshadow/getsgnam_r.c
inet/getaliasent.c
inet/getaliasent_r.c
inet/getaliasname.c
inet/getaliasname_r.c
inet/getnetbyad.c
inet/getnetbyad_r.c
inet/getnetbynm.c
inet/getnetbynm_r.c
inet/getnetent.c
inet/getnetent_r.c
inet/getproto.c
inet/getproto_r.c
inet/getprtent.c
inet/getprtent_r.c
inet/getprtname.c
inet/getprtname_r.c
inet/getrpcbyname.c
inet/getrpcbyname_r.c
inet/getrpcbynumber.c
inet/getrpcbynumber_r.c
inet/getrpcent.c
inet/getrpcent_r.c
nscd/gai.c
nscd/getgrgid_r.c
nscd/getgrnam_r.c
nscd/gethstbyad_r.c
nscd/gethstbynm3_r.c
nscd/getpwnam_r.c
nscd/getpwuid_r.c
nscd/getsrvbynm_r.c
nscd/getsrvbypt_r.c
shadow/getspent.c
shadow/getspent_r.c
shadow/getspnam.c
shadow/getspnam_r.c

index d0fa3b0..049decd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,45 @@
 2012-08-22  Roland McGrath  <roland@hack.frob.com>
 
+       * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
+       * shadow/getspent_r.c: Likewise.
+       * shadow/getspnam.c: Likewise.
+       * shadow/getspnam_r.c: Likewise.
+       * gshadow/getsgent.c: Likewise.
+       * gshadow/getsgent_r.c: Likewise.
+       * gshadow/getsgnam.c: Likewise.
+       * gshadow/getsgnam_r.c: Likewise.
+       * inet/getnetbyad.c: Likewise.
+       * inet/getnetbyad_r.c: Likewise.
+       * inet/getnetbynm.c: Likewise.
+       * inet/getnetbynm_r.c: Likewise.
+       * inet/getnetent.c: Likewise.
+       * inet/getnetent_r.c: Likewise.
+       * inet/getproto.c: Likewise.
+       * inet/getproto_r.c: Likewise.
+       * inet/getprtent.c: Likewise.
+       * inet/getprtent_r.c: Likewise.
+       * inet/getprtname.c: Likewise.
+       * inet/getprtname_r.c: Likewise.
+       * inet/getrpcbyname.c: Likewise.
+       * inet/getrpcbyname_r.c: Likewise.
+       * inet/getrpcbynumber.c: Likewise.
+       * inet/getrpcbynumber_r.c: Likewise.
+       * inet/getrpcent.c: Likewise.
+       * inet/getrpcent_r.c: Likewise.
+       * inet/getaliasent.c: Likewise.
+       * inet/getaliasent_r.c: Likewise.
+       * inet/getaliasname.c: Likewise.
+       * inet/getaliasname_r.c: Likewise.
+       * nscd/getgrgid_r.c: Likewise.
+       * nscd/getgrnam_r.c: Likewise.
+       * nscd/gethstbyad_r.c: Likewise.
+       * nscd/gethstbynm3_r.c: Likewise.
+       * nscd/getpwnam_r.c: Likewise.
+       * nscd/getpwuid_r.c: Likewise.
+       * nscd/getsrvbynm_r.c: Likewise.
+       * nscd/getsrvbypt_r.c: Likewise.
+       * nscd/gai.c: Likewise.
+
        * configure.in (build_nscd): New substituted variable, set
        by --disable-build-nscd and defaults to $use_nscd.
        * configure: Regenerated.
index 1242dee..e7998e9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
 
@@ -26,4 +26,7 @@
 #define DATABASE_NAME  gshadow
 #define BUFLEN         1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index 7b1df53..546251c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
 
@@ -27,4 +27,7 @@
 #define BUFLEN                 1024
 #define NO_COMPAT_NEEDED       1
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index 203c210..2ee20a1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 9e00f6e..a18f3df 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
 
@@ -27,4 +27,7 @@
 #define BUFLEN                 1024
 #define NO_COMPAT_NEEDED       1
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 12173db..b11ebd6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,4 +22,7 @@
 #define        GETFUNC_NAME    getaliasent
 #define BUFLEN         1024
 
+/* There is no nscd support for the aliases file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index 702d31d..56a8728 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define        ENDFUNC_NAME            endaliasent
 #define DATABASE_NAME          aliases
 
+/* There is no nscd support for the aliases file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index e744c90..4d6ef74 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         1024
 
+/* There is no nscd support for the aliases file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 5b21bec..5333e75 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_PARAMS             const char *name
 #define ADD_VARIABLES          name
 
+/* There is no nscd support for the aliases file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 4d0aab4..02f2c98 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -28,4 +28,7 @@
 #define BUFLEN         1024
 #define NEED_H_ERRNO   1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 9c1b200..2837002 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -28,4 +28,7 @@
 #define NEED__RES              1
 #define NEED_H_ERRNO           1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index cf9a2d1..1e53c0f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -27,4 +27,7 @@
 #define BUFLEN         1024
 #define NEED_H_ERRNO   1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 1cf5bfa..4aaf5e6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -27,4 +27,7 @@
 #define NEED__RES              1
 #define NEED_H_ERRNO           1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 09f1158..e449fa2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,4 +23,7 @@
 #define BUFLEN         1024
 #define NEED_H_ERRNO   1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index e46f441..ef7fb9f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,4 +28,7 @@
 #define NEED__RES              1
 #define NEED_H_ERRNO           1
 
+/* There is no nscd support for the networks file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index 3bee3d5..99ae014 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  proto
 #define BUFLEN         1024
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 0d5f31e..e3881b8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_PARAMS             int proto
 #define ADD_VARIABLES          proto
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index ef54c49..2cced62 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,4 +22,7 @@
 #define        GETFUNC_NAME    getprotoent
 #define BUFLEN         1024
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index 9bc0b16..a3284f2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,4 +26,7 @@
 #define STAYOPEN               int stayopen
 #define STAYOPEN_VAR           stayopen
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index ea5cb82..f7ac9a7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         1024
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index b216276..371243e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_PARAMS             const char *name
 #define ADD_VARIABLES          name
 
+/* There is no nscd support for the protocols file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index a433bd7..e72d9ac 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         1024
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 45a0d88..ff8629d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_PARAMS             const char *name
 #define ADD_VARIABLES          name
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 0f0e0d9..0546ece 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  number
 #define BUFLEN         1024
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 3109c3b..d6e5f23 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_PARAMS             int number
 #define ADD_VARIABLES          number
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 05d3a0a..b58fa64 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,4 +22,7 @@
 #define        GETFUNC_NAME    getrpcent
 #define BUFLEN         1024
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index ff2bf75..b0c8172 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,4 +26,7 @@
 #define STAYOPEN               int stayopen
 #define STAYOPEN_VAR           stayopen
 
+/* There is no nscd support for the rpc file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index 1c6527c..0609332 100644 (file)
@@ -32,6 +32,9 @@
 /* nscd uses 1MB or 2MB thread stacks.  */
 #define __libc_use_alloca(size) (size <= __MAX_ALLOCA_CUTOFF)
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef  USE_NSCD
+
 #include <getaddrinfo.c>
 
 /* Support code.  */
index 09b6cbf..5b43332 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_VARIABLES  gid
 #define BUFLEN         NSS_BUFLEN_GROUP
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include <nss/getXXbyYY_r.c>
index 53e572d..aff6fcc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -24,4 +24,7 @@
 #define ADD_PARAMS     const char *name
 #define ADD_VARIABLES  name
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include <nss/getXXbyYY_r.c>
index bb9fab9..c0988b8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2000, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -30,6 +30,9 @@
 #define NEED__RES      1
 #define NEED__RES_HCONF 1
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
 
 
index 86038ba..a7d2554 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-1998, 2000, 2005, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -40,6 +40,9 @@
 
 #define __inet_aton inet_aton
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
 
 
index 7b6c5b3..06e5704 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         NSS_BUFLEN_PASSWD
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include <nss/getXXbyYY_r.c>
index f3a01c6..ce8e2df 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,4 +25,7 @@
 #define ADD_VARIABLES  uid
 #define BUFLEN         NSS_BUFLEN_PASSWD
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include <nss/getXXbyYY_r.c>
index c8b3744..a1c25c7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -24,4 +24,7 @@
 #define ADD_PARAMS             const char *name, const char *proto
 #define ADD_VARIABLES          name, proto
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index cb73426..3c05771 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -24,4 +24,7 @@
 #define ADD_PARAMS             int port, const char *proto
 #define ADD_VARIABLES          port, proto
 
+/* We are nscd, so we don't want to be talking to ourselves.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"
index 50dfcd3..d2a1db6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define DATABASE_NAME  shadow
 #define BUFLEN         1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent.c"
index 6292781..27cb5e8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define DATABASE_NAME          shadow
 #define BUFLEN                 1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXent_r.c"
index beb0570..59ed79d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES  name
 #define BUFLEN         1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY.c"
index 99c04f9..e1b6524 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -26,4 +26,7 @@
 #define ADD_VARIABLES          name
 #define BUFLEN                 1024
 
+/* There is no nscd support for the shadow file.  */
+#undef USE_NSCD
+
 #include "../nss/getXXbyYY_r.c"