* login.c (main): if CSTATUS is missing, don't set c_cc[VSTATUS]
authorMark Eichin <eichin@mit.edu>
Fri, 28 Oct 1994 00:08:14 +0000 (00:08 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 28 Oct 1994 00:08:14 +0000 (00:08 +0000)
(for sunos.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4594 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/login.c

index 3599634e3055a553c7f5a6c7b52af183cf3429d3..00f134dc7ed45cf0c4cd1a339d88dcf81c57b73b 100644 (file)
@@ -1,3 +1,8 @@
+Thu Oct 27 20:07:03 1994  Mark Eichin  (eichin@cygnus.com)
+
+       * login.c (main): if CSTATUS is missing, don't set c_cc[VSTATUS]
+       (for sunos.)
+
 Thu Oct 27 16:12:19 1994  Mark Eichin  (eichin@cygnus.com)
 
        * krlogin.c (des_write): get rid of srandom, since seeding is done
index 0d27eff44934e0ca60a04142fb0c40d7095e0c99..c7bdeeafb69ae31b69cd6281503631c4ddcefac6 100644 (file)
@@ -449,8 +449,10 @@ main(argc, argv)
         tc.c_cc[VWERASE] = CWERASE;
 #endif
 #ifdef VSTATUS
+#ifdef CSTATUS
         tc.c_cc[VSTATUS] = CSTATUS;
 #endif
+#endif
 #endif /* NO_INIT_CC */
        tcsetattr(0, TCSANOW, &tc);
 #else