* login.c (main): Don't zero out terminal window size
authorTom Yu <tlyu@mit.edu>
Wed, 5 Feb 2003 21:39:33 +0000 (21:39 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 5 Feb 2003 21:39:33 +0000 (21:39 +0000)
ticket: 697

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

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

index f91cd0ff95fa31985c774c8fa461e5854a64ce68..c7c9bdc44ea0d17eeda9628795ccc0072592308a 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-05  Tom Yu  <tlyu@mit.edu>
+
+       * login.c (main): Don't zero out terminal window size.
+
 2003-02-03  Tom Yu  <tlyu@mit.edu>
 
        * login.c (dofork): Don't dissociate from controlling tty in the
index 246441fd899729cbb8e95cc377c29102151ade6e..5b5603793df269ba5394499fe4b9312f8c02c151 100644 (file)
@@ -1476,12 +1476,6 @@ int main(argc, argv)
     quietlog = access(HUSHLOGIN, F_OK) == 0;
     dolastlog(hostname, quietlog, tty);
 
-    if (!hflag && !rflag && !kflag && !Kflag && !eflag) {      /* XXX */
-       static struct winsize win = { 0, 0, 0, 0 };
-
-       (void)ioctl(0, TIOCSWINSZ, (char *)&win);
-    }
-
     (void)chown(ttyn, pwd->pw_uid,
                (gr = getgrnam(TTYGRPNAME)) ? gr->gr_gid : pwd->pw_gid);