issue #148: parent: prevent race in iter_read()
There is no guarantee on the ordering select() returns file descriptors. So if, e.g. in the case of sudo_nonexistent.yml, sudo prints an error to a single FD before exitting, there was previously no gurantee iter_read() would read off the error before failing due to detecting disconnect on any FD. Now instead we keep reading while any non-disconnected FD exists.pull/194/head
parent
e43c6c531b
commit
46a311165e
Loading…
Reference in New Issue