summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-06-29 10:32:55 +0000
committerroot <root>2011-06-29 10:32:55 +0000
commit972afe425e3ea86a60b42ec1eda9e1bd2948b18f (patch)
treedb4f070faf1b77a8a3471c2d152259ca8e11a607 /eio.c
parent7dc90eafe7ae0cc5ab67b58ef86b2fbd9b64f5d3 (diff)
*** empty log message ***rel-3_92
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eio.c b/eio.c
index 2ee77c7..7330a7f 100644
--- a/eio.c
+++ b/eio.c
@@ -1008,7 +1008,7 @@ eio__sendfile (int ofd, int ifd, off_t offset, size_t count, etp_worker *self)
if (sbytes)
res = sbytes;
-# elif defined (__APPLE__)
+# elif defined (__APPLE__) && 0 /* broken, as everything on os x */
off_t sbytes = count;
res = sendfile (ifd, ofd, offset, &sbytes, 0, 0);