summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-21 23:27:00 +0000
committerRoland McGrath <roland@redhat.com>1993-01-21 23:27:00 +0000
commit2370f7984646d501b1e51eb9dc924119b292797c (patch)
tree9a24c563c02c3f62858357ca0a96f9551c917c9c
parentb758dc3f8b3e9385c9af82562d7029aab59fb929 (diff)
downloadgunmake-2370f7984646d501b1e51eb9dc924119b292797c.tar.gz
Formerly job.c.~91~
-rw-r--r--job.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/job.c b/job.c
index 816a217..8f32229 100644
--- a/job.c
+++ b/job.c
@@ -28,6 +28,11 @@ static char default_path[] = ":/bin:/usr/bin";
/* Default shell to use. */
char default_shell[] = "/bin/sh";
+/* If NGROUPS_MAX == 0 then try other methods for finding a real value. */
+#if defined (NGROUPS_MAX) && NGROUPS_MAX == 0
+#undef NGROUPS_MAX
+#endif /* NGROUPS_MAX == 0 */
+
#ifndef NGROUPS_MAX
#ifdef POSIX
#define GET_NGROUPS_MAX sysconf (_SC_NGROUPS_MAX)