Treat a tty read failure like EOF as it usually means the pty has
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 10 Apr 2012 14:18:59 +0000 (10:18 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 10 Apr 2012 14:18:59 +0000 (10:18 -0400)
commiteb8274bdcc86591664ed8305ca8fed9521434583
tree5147ce9efbb8b223eb5f330abba2fca05284797a
parentdf04ccb207bd79365d7b1a26f3eb2ad6785f8875
Treat a tty read failure like EOF as it usually means the pty has
gone away.  Handle write() on the tty returning EIO.
src/exec_pty.c