Fix bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe...
commit7413c4ba9fe03c240a61edcd549c4716e1a28653
authorJeremy Allison <jra@samba.org>
Sun, 25 Dec 2011 05:12:09 +0000 (24 21:12 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Mar 2012 19:54:39 +0000 (5 20:54 +0100)
treebbca02b5d6415aafa292d96d4f09849bbcceef9d
parent2d173f355939c73a4ba08b0c6c4e3a00c4137bd2
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)
(cherry picked from commit e1cbc6b4ac55d2cdb55bcfa4dbcd667cedf6ffb2)
source3/lib/recvfile.c