]> granicus.if.org Git - sudo/commit
Go back to dropping out of the select() loop when the process dies; Linux
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 20 Sep 2009 13:51:51 +0000 (13:51 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 20 Sep 2009 13:51:51 +0000 (13:51 +0000)
commit7bb38284b05fa4edaa62cca20b183801e420542d
tree067a8ce3933faa5ee7fdd2b7c1e29a3ebeb2195c
parentb008f3fda8e3fb166339a1b130d467674e9071cf
Go back to dropping out of the select() loop when the process dies; Linux
ptys apparently don't behave the same as BSD in regards to select().
No need to flush remaining output to the transcript, only to stdout.
Add back code to check the master pty for additional data when we exit
the main select loop.
script.c