about summary refs log tree commit diff
path: root/mflag.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-03-26 19:21:33 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-03-26 19:21:33 +0200
commita27ba3370ca156a9fc44e27c2dab053ec3e274e3 (patch)
treeb41d64ad507801f0442e301431384629374ba9af /mflag.c
parent6b9f742d7d1c8c7e691bcd42f801c286d6df4bee (diff)
downloadmblaze-a27ba3370ca156a9fc44e27c2dab053ec3e274e3.tar.gz
mblaze-a27ba3370ca156a9fc44e27c2dab053ec3e274e3.tar.xz
mblaze-a27ba3370ca156a9fc44e27c2dab053ec3e274e3.zip
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.
Diffstat (limited to 'mflag.c')
0 files changed, 0 insertions, 0 deletions