[2.PATCH]: Eliminate typo in bsd-misc.*

Ben Lindstrom mouring at etoh.eviladmin.org
Fri Jun 14 07:27:19 EST 2002


Fixed.

On Thu, 13 Jun 2002, Corinna Vinschen wrote:

> Hi,
>
> the following patch eliminates a typo in bsd-misc.* which disallows
> building for Cygwin.
>
> Corinna
>
> Index: openbsd-compat/bsd-misc.c
> ===================================================================
> RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 bsd-misc.c
> --- openbsd-compat/bsd-misc.c	12 Jun 2002 16:57:15 -0000	1.7
> +++ openbsd-compat/bsd-misc.c	13 Jun 2002 20:43:04 -0000
> @@ -123,7 +123,7 @@ int truncate (const char *path, off_t le
>   * 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;
>  }
> Index: openbsd-compat/bsd-misc.h
> ===================================================================
> RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.h,v
> retrieving revision 1.5
> diff -u -p -r1.5 bsd-misc.h
> --- openbsd-compat/bsd-misc.h	12 Jun 2002 16:57:15 -0000	1.5
> +++ openbsd-compat/bsd-misc.h	13 Jun 2002 20:43:04 -0000
> @@ -77,7 +77,7 @@ int truncate (const char *path, off_t le
>  #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
>
>
>
> --
> Corinna Vinschen
> Cygwin Developer
> Red Hat, Inc.
> mailto:vinschen at redhat.com
>




More information about the openssh-unix-dev mailing list