diff options
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 237f93931..680375ce6 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | RCSID("$Id: bsd-misc.c,v 1.6 2002/05/08 02:51:32 tim Exp $"); | 27 | RCSID("$Id: bsd-misc.c,v 1.7 2002/06/12 16:57:15 mouring Exp $"); |
28 | 28 | ||
29 | char *get_progname(char *argv0) | 29 | char *get_progname(char *argv0) |
30 | { | 30 | { |
@@ -118,3 +118,14 @@ int truncate (const char *path, off_t length) | |||
118 | } | 118 | } |
119 | #endif /* HAVE_TRUNCATE */ | 119 | #endif /* HAVE_TRUNCATE */ |
120 | 120 | ||
121 | #if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) | ||
122 | /* | ||
123 | * Cygwin setgroups should be a noop. | ||
124 | */ | ||
125 | int | ||
126 | setgroups(size_t size, const git_t *list) | ||
127 | { | ||
128 | return 0; | ||
129 | } | ||
130 | #endif | ||
131 | |||