diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-13 21:34:57 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-13 21:34:57 +0000 |
commit | 0e23ebcc8b022710a266982694f3e10e3f19e20b (patch) | |
tree | 5b26ff719b8a717f4c13a0e1101007b488e55a0b /openbsd-compat | |
parent | b7ae94dd0b90d126a5be2dd4362e6148980529aa (diff) |
- (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 4 | ||||
-rw-r--r-- | openbsd-compat/bsd-misc.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 680375ce..fa48afea 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 aff23173..98119604 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 |