Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
0a7fe9ef
Commit
0a7fe9ef
authored
Oct 17, 2007
by
Simon Marlow
Browse files
fix warning on Windows
parent
ea56c486
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/InteractiveUI.hs
View file @
0a7fe9ef
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment