Replace some exit(n) calls with stg_exit(n); fixes trac #4445
authorIan Lynagh <igloo@earth.li>
Thu, 28 Oct 2010 13:48:54 +0000 (13:48 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 28 Oct 2010 13:48:54 +0000 (13:48 +0000)
commit723da2ed96068632ede8d1e8514dd02bbe1336ea
tree834f53b5f30de23b414970a9a3c4e0eef7801e2a
parentfb9d21af24d076b12abb9e22251aa327f82e8ea8
Replace some exit(n) calls with stg_exit(n); fixes trac #4445
Also changed exitcode of -1 to 1 in hpc.
rts/Hpc.c
rts/Linker.c
rts/RtsFlags.c
rts/win32/seh_excn.h