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:
ea56c48
)
fix warning on Windows
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 17 Oct 2007 12:16:45 +0000
(12:16 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 17 Oct 2007 12:16:45 +0000
(12:16 +0000)
compiler/ghci/InteractiveUI.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/InteractiveUI.hs
b/compiler/ghci/InteractiveUI.hs
index
31ca03f
..
0ac7e1c
100644
(file)
--- a/
compiler/ghci/InteractiveUI.hs
+++ b/
compiler/ghci/InteractiveUI.hs
@@
-425,10
+425,11
@@
interactiveLoop is_tty show_prompt =
-- the same directory while a process is running.
checkPerms :: String -> IO Bool
-checkPerms name =
#ifdef mingw32_HOST_OS
+checkPerms _ =
return True
#else
+checkPerms name =
Util.handle (\_ -> return False) $ do
st <- getFileStatus name
me <- getRealUserID