projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91bf79
)
fix non-Windows build
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 1 Jun 2006 12:14:35 +0000
(12:14 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 1 Jun 2006 12:14:35 +0000
(12:14 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
b147bbd
..
c9de96f
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-363,8
+363,8
@@
runGHCi paths maybe_expr = do
case maybe_expr of
Nothing ->
-#if defined(mingw32_HOST_OS)
do
+#if defined(mingw32_HOST_OS)
-- The win32 Console API mutates the first character of
-- type-ahead when reading from it in a non-buffered manner. Work
-- around this by flushing the input buffer of type-ahead characters,