aboutsummaryrefslogtreecommitdiff
path: root/nscd/getpwnam_r.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-22 16:06:53 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-22 16:06:53 -0700
commitf04e213208e4d40ccd562885ab511732d0bd033e (patch)
treebc12193719f127a52459602e6c1e63ab7ab6299f /nscd/getpwnam_r.c
parenteaeffd07f7bbf57d33fcea5c9f1c9a669a436023 (diff)
downloadglibc-f04e213208e4d40ccd562885ab511732d0bd033e.zip
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.gz
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.bz2
Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.
Diffstat (limited to 'nscd/getpwnam_r.c')
-rw-r--r--nscd/getpwnam_r.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/getpwnam_r.c b/nscd/getpwnam_r.c
index 7b6c5b3..06e5704 100644
--- a/nscd/getpwnam_r.c
+++ b/nscd/getpwnam_r.c
@@ -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>