Fix build with ghc-7.10

This commit is contained in:
2018-04-11 22:22:03 +02:00
parent 3aee719130
commit c556a3d3e4

View File

@@ -933,7 +933,7 @@ readFileEOF (MkPath fp) =
else do
readBS <- unsafePackCStringFinalizer buf
(fromIntegral size)
mempty
(return ())
read' fd buf (builder <> byteString readBS)