From owner-cvs-src@FreeBSD.ORG Fri Oct 15 09:31:09 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F1DB16A4CE; Fri, 15 Oct 2004 09:31:09 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECB043D45; Fri, 15 Oct 2004 09:31:09 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9F9V9ZA080847; Fri, 15 Oct 2004 09:31:09 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9F9V9g5080846; Fri, 15 Oct 2004 09:31:09 GMT (envelope-from yar) Message-Id: <200410150931.i9F9V9g5080846@repoman.freebsd.org> From: Yar Tikhiy Date: Fri, 15 Oct 2004 09:31:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 09:31:09 -0000 yar 2004-10-15 09:31:09 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: Account for the fact that sendfile(2) may hit the end of file prematurely, e.g., if the file has been truncated by someone else. PR: bin/72649 Submitted by: Oleg Koreshkov (portions) MFC after: 2 weeks Revision Changes Path 1.166 +12 -1 src/libexec/ftpd/ftpd.c