From owner-cvs-all Wed Apr 25 17:14:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5DE2C37B424; Wed, 25 Apr 2001 17:14:15 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3Q0EFS90585; Wed, 25 Apr 2001 17:14:15 -0700 (PDT) (envelope-from alfred) Message-Id: <200104260014.f3Q0EFS90585@freefall.freebsd.org> From: Alfred Perlstein Date: Wed, 25 Apr 2001 17:14:15 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_syscalls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2001/04/25 17:14:15 PDT Modified files: sys/kern uipc_syscalls.c Log: Sendfile is documented to return 0 on success, however if when a sf_hdtr is used to provide writev(2) style headers/trailers on the sent data the return value is actually either the result of writev(2) from the trailers or headers of no tailers are specified. Fix sendfile to comply with the documentation, by returning 0 on success. Ok'd by: dg Revision Changes Path 1.90 +8 -1 src/sys/kern/uipc_syscalls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message