aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_sendfile_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-30 20:03:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-30 20:03:18 +0000
commit865c150cb473fca8ff91d60ddd539ac6dbbe02ee (patch)
tree1ae51b35fbfaa069adf98db8a4c98887bdd3f9a8 /src/os/unix/ngx_linux_sendfile_chain.c
parentc2bba092eb07ea5fcd2e2ee987e3a304f755a3c7 (diff)
downloadnginx-865c150cb473fca8ff91d60ddd539ac6dbbe02ee.tar.gz
nginx-865c150cb473fca8ff91d60ddd539ac6dbbe02ee.zip
nginx-0.0.1-2003-11-30-23:03:18 import
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
-rw-r--r--src/os/unix/ngx_linux_sendfile_chain.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/os/unix/ngx_linux_sendfile_chain.c b/src/os/unix/ngx_linux_sendfile_chain.c
index d96d93df7..d4e45bbe4 100644
--- a/src/os/unix/ngx_linux_sendfile_chain.c
+++ b/src/os/unix/ngx_linux_sendfile_chain.c
@@ -6,10 +6,9 @@
/*
* On Linux up to 2.4.21 sendfile() (syscall #187) works with 32-bit
- * offsets only and the including <sys/sendfile.h> breaks building
- * if off_t is 64 bit wide. So we use own sendfile() definition where
- * offset paramter is int32_t. It allows to use sendfile() with
- * the file parts below 2G.
+ * offsets only and the including <sys/sendfile.h> breaks building if
+ * off_t is 64 bit wide. So we use own sendfile() definition where offset
+ * parameter is int32_t and use sendfile() with the file parts below 2G.
*
* Linux 2.4.21 has a new sendfile64() syscall #239.
*/