* include/limits.h (NGROUPS_MAX): Set to a more sane value.

* include/sys/param.h (NGROUPS): Ditto.
This commit is contained in:
Corinna Vinschen 2009-08-11 07:28:22 +00:00
parent 12fa1497c1
commit b1ce1770ea
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-08-11 Corinna Vinschen <corinna@vinschen.de>
* include/limits.h (NGROUPS_MAX): Set to a more sane value.
* include/sys/param.h (NGROUPS): Ditto.
2009-08-10 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (av::fixup): Check shell scripts for executability only on

View File

@ -404,7 +404,7 @@ details. */
/* Max num groups for a user, value taken from NT documentation */
/* Must match <sys/param.h> NGROUPS */
#undef NGROUPS_MAX
#define NGROUPS_MAX 16
#define NGROUPS_MAX 1024
/* Maximum number of repeated occurrences of a regular expression when
using the interval notation \{m,n\} */

View File

@ -19,7 +19,7 @@
#define NOFILE 8192
/* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */
#define NGROUPS 16
#define NGROUPS 1024
/* Ticks/second for system calls such as times() */
/* FIXME: is this the appropriate value? */