Skip to content
Snippets Groups Projects
Commit 83f8a91c authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 1999-11-22 11:46:25 by sewardj]

Add comment about Hugs (non-)compliance.
parent aa239734
No related branches found
No related tags found
No related merge requests found
...@@ -214,6 +214,9 @@ fromExitCode :: ExitCode -> Int ...@@ -214,6 +214,9 @@ fromExitCode :: ExitCode -> Int
fromExitCode ExitSuccess = 0 fromExitCode ExitSuccess = 0
fromExitCode (ExitFailure n) = n fromExitCode (ExitFailure n) = n
-- Note. exitWith is supposed to flush and close all open or
-- semi-open handles. The code below doesn't do that --
-- we'd have to keep a list of them somewhere.
exitWith :: ExitCode -> IO a exitWith :: ExitCode -> IO a
exitWith c exitWith c
= do nh_exitwith (fromExitCode c) = do nh_exitwith (fromExitCode c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment