看板 DFBSD_commit 關於我們 聯絡資訊
commit 8c4ed4265ed709e0ff2e164b292fd6b3febef5d3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Aug 13 14:05:45 2010 -0700 kernel - More kqueue work * Only set EV_EOF in the read filter after all pending data has been exhausted. * This also fixes a bug where the read filter was not setting data ready on EOF when data was pending in the buffer. * Fix bugs in the poll copyout handler. An EOF condition does not prevent other flags from getting set. Summary of changes: sys/kern/sys_generic.c | 21 ++++++++++----------- sys/kern/sys_pipe.c | 6 +++++- sys/kern/uipc_socket.c | 6 +++++- sys/vfs/fifofs/fifo_vnops.c | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c4ed4265ed709e0ff2e164b292fd6b3febef5d3 -- DragonFly BSD source repository