[GHC] #4427: hGetBuf sometimes reads fewer bytes than required

GHC cvs-ghc at haskell.org
Wed Oct 27 11:40:07 EDT 2010


#4427: hGetBuf sometimes reads fewer bytes than required
-------------------------------+--------------------------------------------
    Reporter:  rl              |        Owner:  simonmar                   
        Type:  bug             |       Status:  merge                      
    Priority:  highest         |    Milestone:  7.0.1                      
   Component:  libraries/base  |      Version:  7.1                        
    Keywords:                  |     Testcase:                             
   Blockedby:                  |   Difficulty:                             
          Os:  Windows         |     Blocking:                             
Architecture:  x86             |      Failure:  Incorrect result at runtime
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * status:  new => merge


Comment:

 I wasn't able to reproduce the bug (even with Cygwin), but your fix looks
 correct so I've applied it.  Thanks!

 {{{
 Wed Oct 27 15:43:24 BST 2010  Simon Marlow <marlowsd at gmail.com>
   * hGetBuf: fix a case of a short read being returned (#4427)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4427#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list