summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-12 09:11:57 +0000
committerSteven Barth <steven@midlink.org>2008-06-12 09:11:57 +0000
commit8138a605045358fe9f5c1c901eb555908ca626fa (patch)
tree431af6c67f673707473f5d1c1b4ccebb74c4a704 /libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch
parenta2053b36022a35442f0986519b3845f646edba50 (diff)
* Rolling back to Boa 0.94.13 due to chaos
Diffstat (limited to 'libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch')
-rw-r--r--libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch b/libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch
deleted file mode 100644
index 6da0ebaa30..0000000000
--- a/libs/sgi-webuci/boa-patches/020-sendfile_ENOSYS.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: boa-0.94.14rc21/src/pipe.c
-===================================================================
---- boa-0.94.14rc21.orig/src/pipe.c 2007-08-08 20:03:29.000000000 -0400
-+++ boa-0.94.14rc21/src/pipe.c 2007-08-08 20:03:45.000000000 -0400
-@@ -215,7 +215,9 @@
- }
- req->ranges->start = sendfile_offset;
- if (bytes_written < 0) {
-- if (errno == EWOULDBLOCK || errno == EAGAIN) {
-+ if (errno == ENOSYS) {
-+ return io_shuffle(req);
-+ } else if (errno == EWOULDBLOCK || errno == EAGAIN) {
- return -1; /* request blocked at the pipe level, but keep going */
- } else if (errno == EINTR) {
- goto retrysendfile;