Call for testing.

Corinna Vinschen vinschen at redhat.com
Thu Feb 21 21:38:55 EST 2002


On Wed, Feb 20, 2002 at 11:31:35AM -0600, mouring wrote:
> 
> Recently we made somemajor changes to do_child() in
> OpenSSH -current.  Those changes included splitting it up
> into smaller chunks to help with readability and also to
> extract out IRIX and AIX specific code to reduce the number
> of lines in our diffs against the OpenSSH tree.
> 
> I need people to do some testing on different platforms to ensure
> that all the right #ifdef/#endif bits got put back in right.
> 
> The main platforms I'm concern with is AIX, IRIX, and OSF.  Since
> those had the most amount of #ifdef/#endif within the code.  However
> Cygwin and Linux (PAM) also was in there (I know it compiles under
> Redhat 7.2, just could not do a running test).
> 
> Grab it here:
> ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/openssh-SNAP-20020220.tar.gz

I took the latest from CVS to compile for Cygwin and I found just
a slip of the pen:

Index: session.c
===================================================================
RCS file: /cvs/openssh_cvs/session.c,v
retrieving revision 1.180
diff -u -p -r1.180 session.c
--- session.c	19 Feb 2002 21:58:21 -0000	1.180
+++ session.c	21 Feb 2002 10:37:38 -0000
@@ -1103,7 +1103,7 @@ static void
 do_setusercontext(struct passwd *pw)
 {
 #ifdef HAVE_CYGWIN
-	if (iswinnt) {
+	if (is_winnt) {
 #else /* HAVE_CYGWIN */
 	if (getuid() == 0 || geteuid() == 0) {
 #endif /* HAVE_CYGWIN */

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com



More information about the openssh-unix-dev mailing list