Fix bug #8679 - recvfile code path using splice() on Linux leaves data in the pipe...
authorJeremy Allison <jra@samba.org>
Sun, 25 Dec 2011 05:12:09 +0000 (21:12 -0800)
committerJeremy Allison <jra@samba.org>
Sun, 25 Dec 2011 06:46:38 +0000 (07:46 +0100)
commiteb617374a673bb1189dd9b6bccbf3f1d9fb91010
tree0871168e61bbbcb25a2f1bdd51af267628aad5ff
parentd4e834ec6c8005b8a517185a46ab18d8343b7313
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
source3/lib/recvfile.c