diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-19 03:01:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-19 03:01:56 +0000 |
commit | 6cabb6fd6c8bdc1afa0d0e93614fdc512d2c4c25 (patch) | |
tree | d3f7ff3756eebb10d51692155ef253c7630b73c7 | |
parent | d19a75abd0dc0487f9b6235b55a736f0386481c3 (diff) |
- Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
stuff. Change suggested by Mark Miller <markm@swoon.net>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/bsd-nextstep.h | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -9,6 +9,8 @@ - (djm) Make scp work on systems without 64-bit ints - tim@mindrot.org 2001/03/18 18:28:39 [defines.h] move HAVE_LONG_LONG_INT where it works + - Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix + stuff. Change suggested by Mark Miller <markm@swoon.net> 20010318 - (bal) Fixed scp type casing issue which causes "scp: protocol error: @@ -4608,4 +4610,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.976 2001/03/19 02:27:26 tim Exp $ +$Id: ChangeLog,v 1.977 2001/03/19 03:01:56 mouring Exp $ diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h index 1121d4d1..674fbbfe 100644 --- a/openbsd-compat/bsd-nextstep.h +++ b/openbsd-compat/bsd-nextstep.h @@ -21,7 +21,7 @@ * */ -/* $Id: bsd-nextstep.h,v 1.4 2001/02/13 02:18:50 mouring Exp $ */ +/* $Id: bsd-nextstep.h,v 1.5 2001/03/19 03:01:57 mouring Exp $ */ #ifndef _NEXT_POSIX_H #define _NEXT_POSIX_H @@ -29,6 +29,9 @@ #ifdef HAVE_NEXT #include <sys/dir.h> +/* NGROUPS_MAX is behind -lposix. Use the BSD version which is NGROUPS */ +#define NGROUPS_MAX NGROUPS + /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ #define dirent direct |