summaryrefslogtreecommitdiff
path: root/source3/lib/sendfile.c
AgeCommit message (Collapse)AuthorFilesLines
2002-10-01Fix Solaris sendfile detection. Add small fixes to sendfile code.Jeremy Allison1-3/+2
Jeremy. (This used to be commit ef7bcaf1b7e1ca073b27a8836c6aa86e112b5bee)
2002-09-30Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison1-3/+84
<belanger@yahoo.com>. Jeremy. (This used to be commit 8db4d46dc983ce37814fb375d61951b6220a4c61)
2002-09-30Don't zero out numwritten before using.... Found by Pierre Belanger ↵Jeremy Allison1-2/+2
belanger@pobox.com Jeremy. (This used to be commit a7009ad5c8aaae350b2521b8c0cd2538e561618a)
2002-09-21Merge back Richard's FreeBSD sendfile fixes.Jeremy Allison1-5/+5
Jeremy. (This used to be commit f4845b0213aec58e0f489eba5653aa7b3855610f)
2002-09-18HPUX sendfile is now detected correctly.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 91e41ebe97c143f413e2a5614b20f3db4642490f)
2002-09-17Actually use sendfile if selected.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
2002-09-17Attempt to make broken Linux sendfile work.... Still in progress.Jeremy Allison1-7/+17
Jeremy. (This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
2002-09-14Use HAVE_SENDFILE64, not SENDFILE64.Jeremy Allison1-2/+5
Jeremy. (This used to be commit 7e2f9769c9a7ee5d11267a8a8864371fc0aa8f50)
2002-09-14Added fix for broken Linux (no sendfile64). When offset + count > 2GBJeremy Allison1-0/+57
then return ENOSYS and let the upper layer handle it. Jeremy (This used to be commit 872dfd87cda585c33c3823b06580cb301567a9b9)
2002-09-12Fixed up FreeBSD sendfile code - only Solaris left then I can add theJeremy Allison1-22/+55
configure tests... Jeremy. (This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)
2002-09-12HPUX takes offset, not pointer to offset.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)
2002-09-12Fixup sendfile to match HPUX semantics with signal interrups. This wasJeremy Allison1-12/+52
fiddly.... :-(. Jeremy. (This used to be commit 2b33a500a8ad13acdd7e4f593aba65229dc8dd96)
2002-09-12First cut at portable sendfile code. Only used in readX at the momentJeremy Allison1-0/+158
and doesn't actually call sendfile. Needs to be vectored through the VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux). Linux doesn't actually work (2.4.19 kernel) at the moment because it doesn't have a 64-bit clean sendfile. Jeremy. (This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)