>From today's buildworld:
[...]
cc -O -pipe -DLIBWRAP -DLOGIN_ACCESS
-I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DSKEY -c
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function
`do_exec_pty':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:651: warning: passing
arg 2 of `auth_ttyok' from incompatible pointer type
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function
`do_child':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:866: syntax error
before `*'
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: `lc' undeclared
(first use in this function)
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: (Each undeclared
identifier is reported only once
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:868: for each function
it appears in.)
*** Error code 1
Following patch fixes it:
Index: session.c
===================================================================
RCS file: /home/src/FreeBSD/src/crypto/openssh/session.c,v
retrieving revision 1.5
diff -u -r1.5 session.c
--- session.c 2000/06/10 22:32:57 1.5
+++ session.c 2000/06/11 18:52:35
@@ -857,14 +857,15 @@
extern char **environ;
struct stat st;
char *argv[10];
+#ifdef LOGIN_CAP
+ login_cap_t *lc;
+#endif
/* login(1) is only called if we execute the login shell */
if (options.use_login && command != NULL)
options.use_login = 0;
#ifdef LOGIN_CAP
- login_cap_t *lc;
-
lc = login_getpwclass(pw);
if (lc == NULL)
lc = login_getclassbyname(NULL, pw);
-aDe
--
Ade Lovett, Austin, TX. [EMAIL PROTECTED]
FreeBSD: The Power to Serve http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message