aboutsummaryrefslogtreecommitdiff
path: root/gshadow
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 /gshadow
parenteaeffd07f7bbf57d33fcea5c9f1c9a669a436023 (diff)
downloadglibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.gz
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.tar.bz2
glibc-f04e213208e4d40ccd562885ab511732d0bd033e.zip
Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.
Diffstat (limited to 'gshadow')
-rw-r--r--gshadow/getsgent.c5
-rw-r--r--gshadow/getsgent_r.c5
-rw-r--r--gshadow/getsgnam.c5
-rw-r--r--gshadow/getsgnam_r.c5
4 files changed, 16 insertions, 4 deletions
diff --git a/gshadow/getsgent.c b/gshadow/getsgent.c
index 1242deecbb..e7998e9ec3 100644
--- a/gshadow/getsgent.c
+++ b/gshadow/getsgent.c
@@ -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"
diff --git a/gshadow/getsgent_r.c b/gshadow/getsgent_r.c
index 7b1df5357c..546251ca76 100644
--- a/gshadow/getsgent_r.c
+++ b/gshadow/getsgent_r.c
@@ -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"
diff --git a/gshadow/getsgnam.c b/gshadow/getsgnam.c
index 203c21076b..2ee20a1c37 100644
--- a/gshadow/getsgnam.c
+++ b/gshadow/getsgnam.c
@@ -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"
diff --git a/gshadow/getsgnam_r.c b/gshadow/getsgnam_r.c
index 9e00f6e66d..a18f3df36b 100644
--- a/gshadow/getsgnam_r.c
+++ b/gshadow/getsgnam_r.c
@@ -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"