summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Utility/FileMode.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index cbc960a4a..46c6a31f5 100644
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -133,7 +133,6 @@ setSticky f = modifyFileMode f $ addModes [stickyMode]
- as writeFile.
-}
writeFileProtected :: FilePath -> String -> IO ()
-#ifndef mingw32_HOST_OS
writeFileProtected file content = do
h <- openFile file WriteMode
void $ tryIO $
@@ -141,6 +140,3 @@ writeFileProtected file content = do
removeModes [groupReadMode, otherReadMode]
hPutStr h content
hClose h
-#else
-writeFileProtected = writeFile
-#endif