Call for testing for 3.5 OpenSSH
Michael Tokarev
mjt at tls.msk.ru
Wed Sep 25 05:16:10 EST 2002
Tim Rice wrote:
> --- session.c.orig Mon Sep 23 07:28:02 2002
> +++ session.c Tue Sep 24 09:07:59 2002
> @@ -762,6 +777,7 @@
> printf("%s\n", aixloginmsg);
> #endif /* WITH_AIXAUTHENTICATE */
>
> +#if !defined(_CRAY) || defined(_CRAYSV2)
> if (options.print_lastlog && s->last_login_time != 0) {
> time_string = ctime(&s->last_login_time);
> if (strchr(time_string, '\n'))
> @@ -772,7 +788,7 @@
> printf("Last login: %s from %s\r\n", time_string,
> s->hostname);
> }
> -
> +#endif /* _CRAY */
> do_motd();
> }
>
Hmm. I think this may be useful for others as well.
#if defined(_CRAY) && !defined(_CRAYSV2)
# define NO_SSH_LASTLOG
#endif
#ifndef NO_SSH_LASTLOG
> if (options.print_lastlog && s->last_login_time != 0) {
> time_string = ctime(&s->last_login_time);
> if (strchr(time_string, '\n'))
...
#endif /* NO_SSH_LASTLOG */
/mjt
More information about the openssh-unix-dev
mailing list