diff options
Diffstat (limited to 'src/appl')
-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); |