From 0e23ebcc8b022710a266982694f3e10e3f19e20b Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 13 Jun 2002 21:34:57 +0000 Subject: [PATCH] - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com --- ChangeLog | 5 ++++- openbsd-compat/bsd-misc.c | 4 ++-- openbsd-compat/bsd-misc.h | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64e351a5b..f9e2ed2b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20020613 + - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com + 20020612 - (bal) OpenBSD CVS Sync - markus@cvs.openbsd.org 2002/06/11 23:03:54 @@ -922,4 +925,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2215 2002/06/12 17:32:30 mouring Exp $ +$Id: ChangeLog,v 1.2216 2002/06/13 21:34:57 mouring Exp $ diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 680375ce6..fa48afea9 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -24,7 +24,7 @@ #include "includes.h" -RCSID("$Id: bsd-misc.c,v 1.7 2002/06/12 16:57:15 mouring Exp $"); +RCSID("$Id: bsd-misc.c,v 1.8 2002/06/13 21:34:58 mouring Exp $"); char *get_progname(char *argv0) { @@ -123,7 +123,7 @@ int truncate (const char *path, off_t length) * Cygwin setgroups should be a noop. */ int -setgroups(size_t size, const git_t *list) +setgroups(size_t size, const gid_t *list) { return 0; } diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index aff231733..981196044 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: bsd-misc.h,v 1.5 2002/06/12 16:57:15 mouring Exp $ */ +/* $Id: bsd-misc.h,v 1.6 2002/06/13 21:34:58 mouring Exp $ */ #ifndef _BSD_MISC_H #define _BSD_MISC_H @@ -77,7 +77,7 @@ int truncate (const char *path, off_t length); #endif /* HAVE_TRUNCATE */ #if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) -int setgroups(size_t size, const git_t *list); +int setgroups(size_t size, const gid_t *list); #endif