Fix bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe...
commitbbaf2909e7295fe1e4d91d3d5c485dec1cff4531
authorJeremy Allison <jra@samba.org>
Sun, 25 Dec 2011 05:12:09 +0000 (24 21:12 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:29:11 +0000 (23 21:29 +0100)
tree80efadd85e65fcab94ee04f63e56ec85448da807
parent5aa7fe1079ba159b19f995a1acf6b445af80829c
Fix bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe on short write

Bug found and fix suggested by Andrew Bartlett.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sun Dec 25 07:46:38 CET 2011 on sn-devel-104
(cherry picked from commit eb617374a673bb1189dd9b6bccbf3f1d9fb91010)
(cherry picked from commit b3f344b5b52096715eb5670b146f477a67af8245)
source3/lib/recvfile.c