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

Kevin Steves kevin at atomicgears.com
Wed Jun 19 05:48:42 EST 2002


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:

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



More information about the openssh-unix-dev mailing list