summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
)
)
{