slackbuilds_ponce/system/cdfs/cdfs-splice_not_sendfile.patch
2010-05-12 23:33:23 +02:00

12 lines
358 B
Diff

diff -Nur a/cddata.c b/cddata.c
--- a/cddata.c 2008-12-08 07:21:37.000000000 -0600
+++ b/cddata.c 2009-02-18 17:34:17.679224488 -0600
@@ -82,7 +82,7 @@
.mmap = generic_file_mmap
#else
.mmap = generic_file_readonly_mmap,
- .sendfile = generic_file_sendfile
+ .splice_read = generic_file_splice_read
#endif
};