Commit 61becc2c authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fix compat functions for setting file permissions on windows

Spotted by Dominic Steinitz
parent 3f7b179b
......@@ -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 ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment