- (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com

This commit is contained in:
Ben Lindstrom 2002-06-13 21:34:57 +00:00
parent b7ae94dd0b
commit 0e23ebcc8b
3 changed files with 8 additions and 5 deletions

View File

@ -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 $

View File

@ -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;
}

View File

@ -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