[GHC] #3128: hClose leaves file descriptor open if it fails

GHC trac at galois.com
Tue Jun 16 08:36:11 EDT 2009


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

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed:

 {{{
 Tue Jun 16 04:07:55 PDT 2009  Simon Marlow <marlowsd at gmail.com>
   * Fix #3128: file descriptor leak when hClose fails
 }}}

 and a test:

 {{{
 Tue Jun 16 04:40:36 PDT 2009  Simon Marlow <marlowsd at gmail.com>
   * add test for #3128
 }}}

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


More information about the Glasgow-haskell-bugs mailing list