]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
authorBen Lindstrom <mouring@eviladmin.org>
Mon, 19 Mar 2001 03:01:56 +0000 (03:01 +0000)
committerBen Lindstrom <mouring@eviladmin.org>
Mon, 19 Mar 2001 03:01:56 +0000 (03:01 +0000)
   stuff.  Change suggested by Mark Miller <markm@swoon.net>

ChangeLog
openbsd-compat/bsd-nextstep.h

index 48002a7b91bcb2377add838d84cf761edc5be2a8..1e72a739129d51dcbf90e1430caba8d3202da503 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: 
  - 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 $
index 1121d4d1609d79af6af896820b63352083ba6312..674fbbfe36b8870c9b1e09826ebf0a929bbb6369 100644 (file)
@@ -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