git: PIPE - Fix bugs in pipe_shutdown(), and multiple readers.

看板DFBSD_commit作者時間16年前 (2009/08/09 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 930bd1514975d93f8357ff40f5113d940c716090 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Aug 8 19:30:39 2009 -0700 PIPE - Fix bugs in pipe_shutdown(), and multiple readers. * Pipe_shutdown() was setting the wrong EOF bits. * When multiple readers are present pipe_end_uio() was trying test whether an unsigned value was negative, resulting in an endless tsleep(). Make the fields in question to signed. Reported-by: Numerous people. Summary of changes: sys/kern/sys_pipe.c | 35 ++++++++++++++++++----------------- sys/sys/pipe.h | 4 ++-- 2 files changed, 20 insertions(+), 19 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/930bd1514975d93f8357ff40f5113d940c716090 -- DragonFly BSD source repository
文章代碼(AID): #1AVZluSY (DFBSD_commit)