Bug #3268 » pollhup01.patch
sys/kern/sys_pipe.c | ||
---|---|---|
*/
|
||
if (kn->kn_data == 0)
|
||
kn->kn_flags |= EV_NODATA;
|
||
kn->kn_flags |= EV_EOF;
|
||
kn->kn_flags |= EV_EOF | EV_HUP;
|
||
ready = 1;
|
||
}
|
||