about summary refs log tree commit diff
path: root/nscd/getgrnam_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/getgrnam_r.c
parenteaeffd07f7bbf57d33fcea5c9f1c9a669a436023 (diff)
downloadglibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.gz
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.xz
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.zip
Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.
Diffstat (limited to 'nscd/getgrnam_r.c')
-rw-r--r--nscd/getgrnam_r.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/getgrnam_r.c b/nscd/getgrnam_r.c
index 53e572d13a..aff6fcc532 100644
--- a/nscd/getgrnam_r.c
+++ b/nscd/getgrnam_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.
 
@@ -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>