summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/appl/bsd/ChangeLog5
-rw-r--r--src/appl/bsd/login.c2
2 files changed, 6 insertions, 1 deletions
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 <tytso@mit.edu>
+ * 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