Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
61becc2c
Commit
61becc2c
authored
Feb 05, 2009
by
Duncan Coutts
Browse files
Fix compat functions for setting file permissions on windows
Spotted by Dominic Steinitz
parent
3f7b179b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/Compat/CopyFile.hs
View file @
61becc2c
...
...
@@ -73,8 +73,8 @@ setFileMode name m =
throwErrnoIfMinus1_
name
(
c_chmod
s
m
)
#
endif
#
else
setFileOrdinary
=
return
()
setFileExecutable
=
return
()
setFileOrdinary
_
=
return
()
setFileExecutable
_
=
return
()
#
endif
copyFile
::
FilePath
->
FilePath
->
IO
()
...
...
Write
Preview
Markdown
is supported
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