Add TODO to _copyFile

This commit is contained in:
Julian Ospald 2016-05-09 18:15:05 +02:00
parent 820bf8814d
commit 14b48515a2
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 1 additions and 3 deletions

View File

@ -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