summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-02-19 19:36:31 +0000
committerClint Adams <clint@users.sourceforge.net>2006-02-19 19:36:31 +0000
commita9151388528c84d7993a366ae03b57f5a413ca78 (patch)
tree14e46a64fdf4d09ad98b431863d2442b3db60301 /Src/Modules
parent930c18ee44a562c915171fda9158dd613e7d97db (diff)
downloadzsh-a9151388528c84d7993a366ae03b57f5a413ca78.tar.gz
zsh-a9151388528c84d7993a366ae03b57f5a413ca78.tar.xz
zsh-a9151388528c84d7993a366ae03b57f5a413ca78.zip
22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions.
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/stat.c4
1 files changed, 2 insertions, 2 deletions
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++)