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:
0bb19f3
)
unbreak :edit patch on Windows
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 28 Sep 2006 15:59:51 +0000
(15:59 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 28 Sep 2006 15:59:51 +0000
(15:59 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
c38b376
..
909eaec
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-266,8
+266,10
@@
jumpFunction session@(Session ref) (I# idsPtr) hValues location b
findEditor = do
getEnv "EDITOR"
`IO.catch` \_ -> do
-#ifdef mingw32_HOST_OS
- GetWindowsDirectory ++ "\\notepad.exe", or something
+#if 0
+ -- ToDo: mingw32_HOST_OS
+ win <- getWindowsDirectory
+ return (win `joinFileName` "notepad.exe")
#else
return ""
#endif