[PATCH]: Eliminate HAVE_CYGWIN (and _UWIN) around calls to setgroups() [was Re: openssh for UWIN]

Tim Rice tim at multitalents.net
Thu Jun 27 13:01:35 EST 2002


On Tue, 18 Jun 2002, Kevin Steves wrote:

> On Sun, Jun 09, 2002 at 02:41:25PM -0500, Ben Lindstrom wrote:
> > > i think we wanted to move away from "fake-".  for now bsd-misc.c
> > > makes sense, or perhaps i forgot some discussion on this.
> >
> > I'd like to see (and I think Damien also mirrors this belief):
> >
> > bsd-*.c  -- Should implement useable correct code.
> > fake-*.c -- Should implement faked version for platforms that don't
> > 		need the feature, but used to keep the code clean
> > port-*.c -- Should be platform specific code.
>
> i think a directory grouping is better.  what about something like
> this:

While I like your directory grouping idea better, it would only
work if we don't have -Lopenbsd/ -Lcompat/ -Lplatform/
Some linkers on older systems have a limit on the number of -L options.

> openbsd/
> 	copies of source from OpenBSD tree with little or no
> 	modifications that should be kept synced with OpenBSD.
>
> 	readpassphrase.c
> 	readpassphrase.h
> 	strlcpy.c
> 	strlcpy.h
> 	tree.h
>
> compat/
> 	compatability functions for various platforms; e.g.,
> 	when a function is missing on some platforms or a
> 	compatability library that works on multiple platforms.
>
> 	getaddrinfo.c
> 	getaddrinfo.h
> 	loginrec.c
> 	loginrec.h
> 	sigact.c
> 	sigact.h
>
> platform/
> 	platform specific code; generally for one-platform.
>
> 	auth-sia.c
> 	auth-sia.h
> 	port-aix.c
> 	port-aix.h
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list