]> granicus.if.org Git - sudo/commit
In pty_close() there is no need to remove events associated with
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 26 Mar 2018 12:28:23 +0000 (06:28 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 26 Mar 2018 12:28:23 +0000 (06:28 -0600)
commit23364963470bc03b71d375ed8af3bc068914ff9e
tree8fdccb21fe636d1ae87a68c5578804faa1064b81
parent5e7ff154be9ff1a3bc0c36db2a67d437e0d2c3a4
In pty_close() there is no need to remove events associated with
the pty slave as there are none.  We also don't need to check for
the pty fds being -1 since they are not closed elsewhere and
pty_close() is only called if pty_setup() succeeds.
src/exec_pty.c