diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-11-07 15:24:00 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-11-08 13:25:33 +0000 |
commit | 2babc2a527533a67a59cb62782e80292f689fa10 (patch) | |
tree | fac47b8dd259cacb2f71da2d57d7a2c31077d4b3 /rts/Prelude.h | |
parent | 81e29e42d6eea1f1e54cbec698aa1fdf3c6fb7f7 (diff) | |
download | haskell-2babc2a527533a67a59cb62782e80292f689fa10.tar.gz |
Flush stdout and stderr during hs_exit() (#5594)
Ensures that these handles are flushed even when the RTS is being used
as a library, with no main.
Needs a corresponding change to libraries/base.
Diffstat (limited to 'rts/Prelude.h')
-rw-r--r-- | rts/Prelude.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Prelude.h b/rts/Prelude.h index 86bb6099fb..c103b1e0e6 100644 --- a/rts/Prelude.h +++ b/rts/Prelude.h @@ -47,6 +47,8 @@ PRELUDE_CLOSURE(base_GHCziConcziSync_runSparks_closure); PRELUDE_CLOSURE(base_GHCziConcziIO_ensureIOManagerIsRunning_closure); PRELUDE_CLOSURE(base_GHCziConcziSignal_runHandlers_closure); +PRELUDE_CLOSURE(base_GHCziTopHandler_flushStdHandles_closure); + PRELUDE_INFO(ghczmprim_GHCziTypes_Czh_static_info); PRELUDE_INFO(ghczmprim_GHCziTypes_Izh_static_info); PRELUDE_INFO(ghczmprim_GHCziTypes_Fzh_static_info); |