From a9151388528c84d7993a366ae03b57f5a413ca78 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 19 Feb 2006 19:36:31 +0000 Subject: 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. --- Src/Modules/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Modules') diff --git a/Src/Modules/stat.c b/Src/Modules/stat.c index 0c56aea76..20a09e671 100644 --- a/Src/Modules/stat.c +++ b/Src/Modules/stat.c @@ -166,13 +166,13 @@ statgidprint(gid_t gid, char *outbuf, int flags) strcat(outbuf, " ("); } if (flags & STF_STRING) { -#ifdef HAVE_GETGRGID +#ifdef USE_GETGRGID struct group *gr; gr = getgrgid(gid); if (gr) strcat(outbuf, gr->gr_name); else -#endif /* !HAVE_GETGRGID */ +#endif /* !USE_GETGRGID */ { char *optr; for (optr = outbuf; *optr; optr++) -- cgit 1.4.1