diff options
author | Tom Yu <tlyu@mit.edu> | 2003-02-05 21:39:33 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2003-02-05 21:39:33 +0000 |
commit | ea9cb9d21e39b05b16bf3a18753a1f5a7085b8c0 (patch) | |
tree | 8077661cb506be11cbb98b6782c899c77be9ab61 | |
parent | 4ee34904261e23b1bbc396fbdb3902e6630d4314 (diff) | |
download | krb5-ea9cb9d21e39b05b16bf3a18753a1f5a7085b8c0.zip krb5-ea9cb9d21e39b05b16bf3a18753a1f5a7085b8c0.tar.gz krb5-ea9cb9d21e39b05b16bf3a18753a1f5a7085b8c0.tar.bz2 |
* login.c (main): Don't zero out terminal window size
ticket: 697
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15156 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/appl/bsd/ChangeLog | 4 | ||||
-rw-r--r-- | src/appl/bsd/login.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index f91cd0f..c7c9bdc 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -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 diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 246441f..5b56037 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -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); |