From eff164b6c92b231cf0a414b04c9900bbe973c6ac Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 28 Mar 1997 06:15:43 +0000 Subject: [PATCH] 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 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/login.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.26.2