[project @ 2003-03-18 10:28:15 by simonmar]
authorsimonmar <unknown>
Tue, 18 Mar 2003 10:28:15 +0000 (10:28 +0000)
committersimonmar <unknown>
Tue, 18 Mar 2003 10:28:15 +0000 (10:28 +0000)
commitc1d0aa931d8468c5fc02f069f2a5f32b057f139c
treed3ba6062fa31bb327bfa46bb009689662a6ed3d1
parentaa448d763b78da58196be4aa43113da2c7a35139
[project @ 2003-03-18 10:28:15 by simonmar]
This should have been committed along with rev. 1.36 of Main.c (and
others) yesterday, but for some reason it got left out.

Change the way Main.main is run, so it now doesn't force the return
value.  Now 'main = return undefined' will run and exit successfully.

The change affects finalizers too - but since they have type IO (), it
won't do any harm not to evaluate the ().
ghc/rts/RtsAPI.c