Lets try this push again.. 2.5.1p2 bugs left.

Michael Stone mstone at cs.loyola.edu
Fri Feb 23 00:51:48 EST 2001


There's a patch I posted a while back that hasn't made it in yet. The
form currently distributed breaks, e.g., "wall" on IRIX because the
recorded tty is broken. The ifdef was introduced mistakenly some time ago.

--- openssh-2.5.1p1/loginrec.c  Tue Feb 20 16:19:17 2001
+++ openssh-2.5.1p1.orig//loginrec.c    Mon Feb  5 07:42:17 2001
@@ -539,8 +539,13 @@
        memset(dst, '\0', dstsize);
 
        /* Always skip prefix if present */
+#ifdef sgi
+       if (strncmp(src, "/dev/tty", 8) == 0)
+               src += 8;
+#else
        if (strncmp(src, "/dev/", 5) == 0)
                src += 5;
+#endif
 
        len = strlen(src);
 

-- 
Mike Stone





More information about the openssh-unix-dev mailing list