]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-sendfile.patch
- added
[packages/lighttpd.git] / lighttpd-sendfile.patch
index b63f76c488004ec3e60e96dcc75a7bb35a1d83c7..18be2f000813be2136ca2a6a0f61738c6d4a9b89 100644 (file)
@@ -1,9 +1,9 @@
---- src/network_backends.h-orig        2004-04-05 07:20:46.000000000 +0000
-+++ src/network_backends.h     2004-04-07 13:51:18.000000000 +0000
-@@ -2,7 +2,7 @@
- #define _NETWORK_BACKENDS_H_
+--- lighttpd-1.2.2/src/network_backends.h      2004-06-15 17:21:34.000000000 +0000
++++ lighttpd-1.2.2.new/src/network_backends.h  2004-06-15 20:35:32.767494640 +0000
+@@ -5,7 +5,7 @@
  
- #if defined HAVE_SYS_SENDFILE_H && defined HAVE_SENDFILE && defined HAVE_WRITEV && defined(__linux__)
+ /* on linux 2.4.x you get either sendfile or LFS */
+ #if defined HAVE_SYS_SENDFILE_H && defined HAVE_SENDFILE && (!defined _LARGEFILE_SOURCE || defined HAVE_SENDFILE64) && defined HAVE_WRITEV && defined(__linux__) && !defined HAVE_SENDFILE_BROKEN
 -# define USE_LINUX_SENDFILE
 +/* # define USE_LINUX_SENDFILE */
  # include <sys/sendfile.h>
This page took 0.121898 seconds and 4 git commands to generate.