about summary refs log tree commit diff
path: root/Src/params.c
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/params.c
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/params.c')
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c
index a633fb579..efdb42aca 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -3019,7 +3019,7 @@ usernamesetfn(UNUSED(Param pm), char *x)
     struct passwd *pswd;
 
     if (x && (pswd = getpwnam(x)) && (pswd->pw_uid != cached_uid)) {
-# ifdef HAVE_INITGROUPS
+# ifdef USE_INITGROUPS
 	initgroups(x, pswd->pw_gid);
 # endif
 	if(!setgid(pswd->pw_gid) && !setuid(pswd->pw_uid)) {