From ea9cb9d21e39b05b16bf3a18753a1f5a7085b8c0 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 5 Feb 2003 21:39:33 +0000 Subject: [PATCH] * 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 --- src/appl/bsd/ChangeLog | 4 ++++ 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 f91cd0ff9..c7c9bdc44 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +2003-02-05 Tom Yu + + * login.c (main): Don't zero out terminal window size. + 2003-02-03 Tom Yu * 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 246441fd8..5b5603793 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); -- 2.26.2