diff options
author | Tamar Christina <tamar@zhox.com> | 2017-09-26 19:43:15 +0100 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2017-09-26 19:43:15 +0100 |
commit | 3ec579d5d13dd00af58380a34daa2d57f0b9aa9e (patch) | |
tree | 17a3c921cdf6d85a5e4ad1d17d90c6707c16bad4 /driver/haddock | |
parent | f9f1e38c204c0d294d31398c8c300fba3d89f450 (diff) | |
download | haskell-3ec579d5d13dd00af58380a34daa2d57f0b9aa9e.tar.gz |
Release console for ghci wrapper
Summary:
It seems the call that caused issues with the gcc wrapper before
was needed for the ghci wrapper in order for the child process
to be the one handling console events.
This code slightly refactors the wrappers to make sure only ghci
calls FreeConsole and nothing else.
Test Plan: ./validate , open ghci.exe press ctrl+c
Reviewers: RyanGlScott, austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, erikd
GHC Trac Issues: #14150
Differential Revision: https://phabricator.haskell.org/D4028
Diffstat (limited to 'driver/haddock')
-rw-r--r-- | driver/haddock/haddock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/haddock/haddock.c b/driver/haddock/haddock.c index e43d33f046..79ab873791 100644 --- a/driver/haddock/haddock.c +++ b/driver/haddock/haddock.c @@ -10,5 +10,5 @@ int main(int argc, char** argv) { binDir = getExecutablePath(); exePath = mkString("%s/haddock.exe", binDir); - run(exePath, 0, NULL, argc - 1, argv + 1); + run(exePath, 0, NULL, argc - 1, argv + 1, NULL); } |