From 14b48515a28f230713d66e7f23023a2632178a89 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 9 May 2016 18:15:05 +0200 Subject: [PATCH] Add TODO to _copyFile --- src/HPath/IO.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/HPath/IO.hs b/src/HPath/IO.hs index 000cd13..5b8df4a 100644 --- a/src/HPath/IO.hs +++ b/src/HPath/IO.hs @@ -395,9 +395,7 @@ _copyFile :: [SPDF.Flags] -> IO () _copyFile sflags dflags from to = - -- from sendfile(2) manpage: - -- Applications may wish to fall back to read(2)/write(2) in the case - -- where sendfile() fails with EINVAL or ENOSYS. + -- TODO: add sendfile support withAbsPath to $ \to' -> withAbsPath from $ \from' -> void $ fallbackCopy from' to' where