Fix bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe...
commitb3f344b5b52096715eb5670b146f477a67af8245
authorJeremy Allison <jra@samba.org>
Sun, 25 Dec 2011 05:12:09 +0000 (24 21:12 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 4 Jan 2012 20:28:12 +0000 (4 21:28 +0100)
tree4f49a414e7585ba316215d6dff4f4a8e43802a5b
parentab62ee622358362d4d2b16c7fec9a1f2cf7b8d8d
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)
source3/lib/recvfile.c