kern/149857: [kqueue] kqueue not reporting EOF under certain circumstances

Volodymyr Kostyrko c.kworr at gmail.com
Tue Jul 10 12:16:51 UTC 2012


Hi all.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/149857

This PR is rather old. I just had submitted new test case, now in plain c.

It doesn't work exactly like python version, but the result is the same:

 > clang test.c
 > cat test.c | ./a.out
-1 916 0 0 0
-1 0 32768 0 0
 > ./a.out < test.c
-1 916 0 0 0
<- and here we have a complete hang in [kqread].

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-standards mailing list