Project

General

Profile

Bug #3268 » pollhup01.patch

dillon, 05/10/2021 05:02 PM

View differences:

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;
}
(2-2/3)