[GHC] #4895: hGetBufSome returns 0 when it should not

GHC cvs-ghc at haskell.org
Mon Jan 17 07:01:10 CET 2011


#4895: hGetBufSome returns 0 when it should not
---------------------------------+------------------------------------------
    Reporter:  guest             |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Component:  libraries/base             
     Version:  7.0.1             |    Keywords:                             
    Testcase:                    |   Blockedby:                             
          Os:  Linux             |    Blocking:                             
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------
 In the attached program hGetBufSome returns 0, but the handle contains
 more data to be read. This contradicts to the documentation.

 -- Takano Akio

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



More information about the Glasgow-haskell-bugs mailing list