20010105
- (bal) Disable groupaccess by setting NGROUP_MAX to 0 for platforms
that don't have NGROUP_MAX.
diff --git a/ChangeLog b/ChangeLog
index 73b4a69..c69e437 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20010105
+ - (bal) Disable groupaccess by setting NGROUP_MAX to 0 for platforms
+ that don't have NGROUP_MAX.
+
20010104
- (bal) I think this is the last of the bsd-*.h that don't belong.
- (bal) Minor Makefile fix
diff --git a/defines.h b/defines.h
index 087ad2a..51fd7b3 100644
--- a/defines.h
+++ b/defines.h
@@ -89,6 +89,10 @@
# define STDERR_FILENO 2
#endif
+#ifndef NGROUP_MAX /* Disable groupaccess if NGROUP_MAX is not set */
+#define NGROUP_MAX 0
+#endif
+
#ifndef O_NONBLOCK /* Non Blocking Open */
# define O_NONBLOCK 00004
#endif