Enable tests for splice on Linux. Add a static (vl, I hate this)
commita9d954e30eca9f181a402ad29669e2b42a27b133
authorJeremy Allison <jra@samba.org>
Tue, 6 May 2008 22:46:34 +0000 (6 15:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 May 2008 09:21:30 +0000 (26 11:21 +0200)
tree76973647bd26c1c80f8bda76ac624cc1dc23743a
parent874bc18a992999af5413d3c17d674108a3078f67
Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Karolin, I think this should be pulled into 3.2-stable even
though it's a feature change as otherwise there's no way for
3.2 to use recvfile zerocopy, which is an advertised feature.
Others please comment.
Jeremy.
(cherry picked from commit bad2c3f1c817a94b7638bbf6456ff862829aed76)
source/configure.in
source/lib/recvfile.c