mirror of https://github.com/leahneukirchen/mblaze
filter: make more robust
MacOS will send POLLIN for empty reads on EOF, so detect ret == 0 too. Also poll for POLLHUP, which other systems use to message EOF. Fixes #18.pull/22/head
parent
6b9f742d7d
commit
a27ba3370c
Loading…
Reference in New Issue