git: fifo: Restore the old semantics of select(2)/poll(2) for re

看板DFBSD_commit作者時間14年前 (2011/10/22 18:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 010f86dc1259be3b29303bfc336532138acd077d Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Sat Sep 24 22:16:13 2011 +0800 fifo: Restore the old semantics of select(2)/poll(2) for reading select(2)/poll(2) for reading on a fifo should not return "ready to read" if all of the writers have closed the fifo. DragonFly-Bug: http://bugs.dragonflybsd.org/issue2028 Summary of changes: sys/vfs/fifofs/fifo_vnops.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/010f86dc1259be3b29303bfc336532138acd077d -- DragonFly BSD source repository
文章代碼(AID): #1EefJaZi (DFBSD_commit)