projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-04-26 17:27:00 by rrt]
[ghc-hetmet.git]
/
ghc
/
rts
/
Main.c
diff --git
a/ghc/rts/Main.c
b/ghc/rts/Main.c
index
04e9b2b
..
0409e7e
100644
(file)
--- a/
ghc/rts/Main.c
+++ b/
ghc/rts/Main.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Main.c,v 1.21 2000/04/03 13:44:47 simonmar Exp $
+ * $Id: Main.c,v 1.24 2000/04/26 09:28:18 simonmar Exp $
*
* (c) The GHC Team 1998-2000
*
*
* (c) The GHC Team 1998-2000
*
@@
-43,7
+43,7
@@
EXTFUN(__init_PrelMain);
/* Hack: we assume that we're building a batch-mode system unless
* INTERPRETER is set
*/
/* Hack: we assume that we're building a batch-mode system unless
* INTERPRETER is set
*/
-# ifndef INTERPRETER /* Hack */
+#ifndef INTERPRETER /* Hack */
int main(int argc, char *argv[])
{
int exit_status;
int main(int argc, char *argv[])
{
int exit_status;
@@
-100,7
+100,7
@@
int main(int argc, char *argv[])
# else /* !PAR && !GRAN */
/* ToDo: want to start with a larger stack size */
# else /* !PAR && !GRAN */
/* ToDo: want to start with a larger stack size */
- status = rts_evalIO(mainIO_closure, NULL);
+ status = rts_evalIO((HaskellObj)mainIO_closure, NULL);
# endif /* !PAR && !GRAN */
# endif /* !PAR && !GRAN */
@@
-112,7
+112,7
@@
int main(int argc, char *argv[])
exit_status = EXIT_DEADLOCK;
break;
case Killed:
exit_status = EXIT_DEADLOCK;
break;
case Killed:
- prog_belch("main thread killed");
+ prog_belch("main thread exited (uncaught exception)");
exit_status = EXIT_KILLED;
break;
case Interrupted:
exit_status = EXIT_KILLED;
break;
case Interrupted: