From: Theodore Tso Date: Fri, 28 Mar 1997 06:15:43 +0000 (+0000) Subject: If we're on an SGI machine, don't do the MOTD or MAILCHECK thing, X-Git-Tag: krb5-1.1-beta1~1165 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eff164b6c92b231cf0a414b04c9900bbe973c6ac;p=krb5.git If we're on an SGI machine, don't do the MOTD or MAILCHECK thing, since it's done by /etc/cshrc magic. (SGI's don't define __SVR4, even though it's SVR4 derived). [krb5-appl/158] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10033 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index e588b0000..ba4a97e49 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,5 +1,10 @@ Fri Mar 28 01:05:27 1997 Theodore Y. Ts'o + * login.c (NO_MOTD): If we're on an SGI machine, don't do the MOTD + or MAILCHECK thing, since it's done by /etc/cshrc magic. + (SGI's don't define __SVR4, even though it's SVR4 + derived). [krb5-appl/158] + * krlogin.c (try_normal): When falling back to the normal rlogin, clear the signal mask, so that the child rlogin handles SIGUSR1 (which is used for window size changes) correctly. diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 68ca4126b..41236465b 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -281,7 +281,7 @@ extern int errno; passsword */ #endif -#ifdef __SVR4 +#if defined(__SVR4) || defined(sgi) #define NO_MOTD #define NO_MAILCHECK #endif