#3128: hClose leaves file descriptor open if it fails
---------------------------------+------------------------------------------
    Reporter:  Baughn            |        Owner:  simonmar        
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  libraries/base    |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by Baughn):

 Ah. Of course; my invocations of hClose were failing anyway, so it
 probably just never got that far, and I didn't see the code.

 Say, about that rewrite - is the API going to be the same as the current
 one? If not, is there any way I could have a look?

 I really need a functional network library for my thesis, but at the
 moment I was resigning myself to writing my own based on the C functions
 when I get started, in a few weeks' time.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3128#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to