diff options
author | Clint Adams <clint@users.sourceforge.net> | 2006-02-19 19:36:31 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2006-02-19 19:36:31 +0000 |
commit | a9151388528c84d7993a366ae03b57f5a413ca78 (patch) | |
tree | 14e46a64fdf4d09ad98b431863d2442b3db60301 /Src/Modules/stat.c | |
parent | 930c18ee44a562c915171fda9158dd613e7d97db (diff) | |
download | zsh-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/stat.c')
-rw-r--r-- | Src/Modules/stat.c | 4 |
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++) |