projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f100b0
)
Remove NGROUPS_MAX junk. It wasn't being used.
author
Jim Meyering
<jim@meyering.net>
Sat, 6 Jan 1996 06:10:08 +0000
(06:10 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 6 Jan 1996 06:10:08 +0000
(06:10 +0000)
src/su.c
patch
|
blob
|
history
diff --git
a/src/su.c
b/src/su.c
index
1464d3b
..
44cacbb
100644
(file)
--- a/
src/su.c
+++ b/
src/su.c
@@
-94,18
+94,11
@@
static void log_su ();
#ifdef _POSIX_VERSION
#include <limits.h>
-#ifdef NGROUPS_MAX
-#undef NGROUPS_MAX
-#endif
-#define NGROUPS_MAX sysconf (_SC_NGROUPS_MAX)
#else /* not _POSIX_VERSION */
struct passwd *getpwuid ();
struct group *getgrgid ();
uid_t getuid ();
#include <sys/param.h>
-#if !defined(NGROUPS_MAX) && defined(NGROUPS)
-#define NGROUPS_MAX NGROUPS
-#endif
#endif /* not _POSIX_VERSION */
#ifndef HAVE_ENDGRENT