about summary refs log tree commit diff
path: root/nscd/getgrgid_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/getgrgid_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/getgrgid_r.c')
-rw-r--r--nscd/getgrgid_r.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/getgrgid_r.c b/nscd/getgrgid_r.c
index 09b6cbf1cb..5b433321b5 100644
--- a/nscd/getgrgid_r.c
+++ b/nscd/getgrgid_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	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>