[GHC] #7877: hSetBuffering002(ghci) and hSetBuffering004(ghci) fail on OS X
GHC
cvs-ghc at haskell.org
Wed May 1 22:13:38 CEST 2013
#7877: hSetBuffering002(ghci) and hSetBuffering004(ghci) fail on OS X
----------------------------------------+-----------------------------------
Reporter: nfrisby | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.6.3 | Keywords:
Os: MacOS X | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Blockedby:
Blocking: | Related:
----------------------------------------+-----------------------------------
{{{
$ make TESTS="hSetBuffering002 hSetBuffering004"
# ... snip ...
Unexpected failures:
../../libraries/base/tests/IO hSetBuffering002 [bad exit code] (ghci)
../../libraries/base/tests/IO hSetBuffering004 [bad stdout or stderr]
(ghci)
}}}
For 002, there's a stderror message: `<stdin>: hGetLine: illegal operation
(handle is closed)`
For 004, it seems like ghci is trying to parse the part of the .genscript
file that the program is supposed to use as stdin.
I'm on OS X 10.7.5
{{{
ghc : ade1ae97ed52c493ec415c1601dace39b64071dd
testsuite : 743cab5865ae0b9820dadc33a692511e0e467b9b
base : b3387abfbc94b69e977c232386acad4dde7597e8
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7877>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list