Don't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
authorTheodore Tso <tytso@mit.edu>
Thu, 6 Jul 1995 00:05:35 +0000 (00:05 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 6 Jul 1995 00:05:35 +0000 (00:05 +0000)
commitaa3cb2737764d69ac1845af85635185a1d30ee4d
treeeb923f90784d94db5f5a6f757ba9c1951384d3f7
parent9b7d8b5e0d83f6e64a1f5ae19f14217186e5a679
Don't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Don't just blindly set the file status flags to 0.  Instead, do a
fcntl(0, F_GETFL), and then reset the nonblocking flags.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6227 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/bsd/ChangeLog
src/appl/bsd/login.c