From f04e213208e4d40ccd562885ab511732d0bd033e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 Aug 2012 16:06:53 -0700 Subject: Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case. --- shadow/getspent.c | 5 ++++- shadow/getspent_r.c | 5 ++++- shadow/getspnam.c | 5 ++++- shadow/getspnam_r.c | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) (limited to 'shadow') diff --git a/shadow/getspent.c b/shadow/getspent.c index 50dfcd332d..d2a1db67c9 100644 --- a/shadow/getspent.c +++ b/shadow/getspent.c @@ -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 , 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" diff --git a/shadow/getspent_r.c b/shadow/getspent_r.c index 6292781dc3..27cb5e8515 100644 --- a/shadow/getspent_r.c +++ b/shadow/getspent_r.c @@ -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 , 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" diff --git a/shadow/getspnam.c b/shadow/getspnam.c index beb0570645..59ed79daa7 100644 --- a/shadow/getspnam.c +++ b/shadow/getspnam.c @@ -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 , 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" diff --git a/shadow/getspnam_r.c b/shadow/getspnam_r.c index 99c04f9f46..e1b652469c 100644 --- a/shadow/getspnam_r.c +++ b/shadow/getspnam_r.c @@ -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 , 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" -- cgit v1.2.3