DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Aug 2009 19:37:42 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]