summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2010-01-02 13:02:20 +0000
committerroot <root>2010-01-02 13:02:20 +0000
commitb603f404d08248de437b7bf3e603adcfa01568db (patch)
tree512a6092bde84cabab954e246d05d6a4cb1daef2
parentf4ac661c84499267a8ec190da3cb1b270c87c1db (diff)
*** empty log message ***
-rw-r--r--Changes1
-rw-r--r--eio.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Changes b/Changes
index c76aab6..d1357b0 100644
--- a/Changes
+++ b/Changes
@@ -17,4 +17,5 @@ TODO: maybe add mincore support? available on at leats darwin, solaris, linux, f
- use a more robust feed-add detection method.
- "outbundled" from IO::AIO.
- eio_set_max_polltime did not properly convert time to ticks.
+ - tentatively support darwin in sendfile.
diff --git a/eio.c b/eio.c
index af91074..a18e8eb 100644
--- a/eio.c
+++ b/eio.c
@@ -975,6 +975,7 @@ eio__sendfile (int ofd, int ifd, off_t offset, size_t count, etp_worker *self)
#if __solaris
|| errno == EAFNOSUPPORT || errno == EPROTOTYPE
#endif
+ || errno == ENOTSUP || errno == EOPNOTSUPP
)
)
{