LIB: fix copyFile'

Previously, BS.writeFile would fail if the created file
was not writable, obviously. Now we use the file-descriptor
to write the content.
This commit is contained in:
2016-04-03 18:19:02 +02:00
parent bfcc2f39e5
commit fa7cab69c6
2 changed files with 13 additions and 10 deletions

View File

@@ -44,7 +44,8 @@ library
safe,
stm,
time >= 1.4.2,
unix
unix,
unix-bytestring
hs-source-dirs: src
default-language: Haskell2010
Default-Extensions: RecordWildCards
@@ -89,7 +90,8 @@ executable hsfm-gtk
stm,
time >= 1.4.2,
transformers,
unix
unix,
unix-bytestring
hs-source-dirs: src
default-language: Haskell2010
Default-Extensions: RecordWildCards