[GHC] #5066: OS X: hClose003

GHC cvs-ghc at haskell.org
Thu Mar 31 13:12:28 CEST 2011


#5066: OS X: hClose003
-------------------------------+--------------------------------------------
    Reporter:  altaic          |       Owner:              
        Type:  bug             |      Status:  new         
    Priority:  normal          |   Component:  Test Suite  
     Version:  7.1             |    Keywords:              
    Testcase:                  |   Blockedby:              
          Os:  MacOS X         |    Blocking:              
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown
-------------------------------+--------------------------------------------
 On my HEAD build against OS X 10.6.6 (x86_64), hClose003(threaded2) fails
 with:
 {{{
 Actual stdout output differs from expected:
 --- ./lib/IO/hClose003.stdout.normalised        2011-03-31
 06:08:49.000000000 -0400
 +++ ./lib/IO/hClose003.run.stdout.normalised    2011-03-31
 06:08:49.000000000 -0400
 @@ -1,4 +1,4 @@
  Right ()
  False
 -Left <file descriptor: X>: hClose: resource vanished (Broken pipe)
 +Left <file descriptor: XX>: hClose: resource vanished (Broken pipe)
  False
 }}}

 The offending file descriptor is `10`, which the program's output
 sanitizer is not capable of dealing with. I don't know the significance of
 the file descriptor number, but if it's inconsequential, then the patch
 I'm attaching should correctly normalize the digits.

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



More information about the Glasgow-haskell-bugs mailing list