[GHC] #5402: Exit code is wrong with dynamically loaded libraries
GHC
cvs-ghc at haskell.org
Thu Aug 11 15:53:28 CEST 2011
#5402: Exit code is wrong with dynamically loaded libraries
---------------------------------+------------------------------------------
Reporter: Lennart | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
Does this fix have any justification other than that it works in your
scenario? I'm struggling to understand exactly who is at fault here.
Another alternative that might be more correct is for
`shutdownHaskellAndExit` to set `hs_init_count` to `1` before calling
`hs_exit`, so that it definitely shuts down the RTS. The justification is
that we're about to exit!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5402#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list