projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
797f069
)
[project @ 1999-11-23 10:32:37 by sewardj]
author
sewardj
<unknown>
Tue, 23 Nov 1999 10:32:37 +0000
(10:32 +0000)
committer
sewardj
<unknown>
Tue, 23 Nov 1999 10:32:37 +0000
(10:32 +0000)
Fix typo in exitWith.
ghc/lib/std/System.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/System.lhs
b/ghc/lib/std/System.lhs
index
ba31873
..
e62b7d4
100644
(file)
--- a/
ghc/lib/std/System.lhs
+++ b/
ghc/lib/std/System.lhs
@@
-217,7
+217,7
@@
fromExitCode (ExitFailure n) = n
-- see comment in Prelude.hs near primRunIO_hugs_toplevel
exitWith :: ExitCode -> IO a
exitWith c
- = do cleanup_action <- readIORef prelExitWithAction
+ = do cleanup_action <- readIORef prelCleanupAfterRunAction
case cleanup_action of
Just xx -> xx
Nothing -> return ()