summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-13 21:34:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-13 21:34:57 +0000
commit0e23ebcc8b022710a266982694f3e10e3f19e20b (patch)
tree5b26ff719b8a717f4c13a0e1101007b488e55a0b
parentb7ae94dd0b90d126a5be2dd4362e6148980529aa (diff)
- (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/bsd-misc.c4
-rw-r--r--openbsd-compat/bsd-misc.h4
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 @@
120020613
2 - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com
3
120020612 420020612
2 - (bal) OpenBSD CVS Sync 5 - (bal) OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2002/06/11 23:03:54 6 - markus@cvs.openbsd.org 2002/06/11 23:03:54
@@ -922,4 +925,4 @@
922 - (stevesk) entropy.c: typo in debug message 925 - (stevesk) entropy.c: typo in debug message
923 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 926 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
924 927
925$Id: ChangeLog,v 1.2215 2002/06/12 17:32:30 mouring Exp $ 928$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 @@
24 24
25#include "includes.h" 25#include "includes.h"
26 26
27RCSID("$Id: bsd-misc.c,v 1.7 2002/06/12 16:57:15 mouring Exp $"); 27RCSID("$Id: bsd-misc.c,v 1.8 2002/06/13 21:34:58 mouring Exp $");
28 28
29char *get_progname(char *argv0) 29char *get_progname(char *argv0)
30{ 30{
@@ -123,7 +123,7 @@ int truncate (const char *path, off_t length)
123 * Cygwin setgroups should be a noop. 123 * Cygwin setgroups should be a noop.
124 */ 124 */
125int 125int
126setgroups(size_t size, const git_t *list) 126setgroups(size_t size, const gid_t *list)
127{ 127{
128 return 0; 128 return 0;
129} 129}
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 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25/* $Id: bsd-misc.h,v 1.5 2002/06/12 16:57:15 mouring Exp $ */ 25/* $Id: bsd-misc.h,v 1.6 2002/06/13 21:34:58 mouring Exp $ */
26 26
27#ifndef _BSD_MISC_H 27#ifndef _BSD_MISC_H
28#define _BSD_MISC_H 28#define _BSD_MISC_H
@@ -77,7 +77,7 @@ int truncate (const char *path, off_t length);
77#endif /* HAVE_TRUNCATE */ 77#endif /* HAVE_TRUNCATE */
78 78
79#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) 79#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP)
80int setgroups(size_t size, const git_t *list); 80int setgroups(size_t size, const gid_t *list);
81#endif 81#endif
82 82
83 83