From owner-cvs-all Mon Oct 28 2:20: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BD2E37B401; Mon, 28 Oct 2002 02:20:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C218743E3B; Mon, 28 Oct 2002 02:20:07 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SAJ4mV084841; Mon, 28 Oct 2002 02:19:04 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9SAJ399084840; Mon, 28 Oct 2002 02:19:03 -0800 (PST) Message-Id: <200210281019.g9SAJ399084840@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 28 Oct 2002 02:19:03 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch common.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG des 2002/10/28 02:19:03 PST Modified files: lib/libfetch common.c Log: Fix an off-by-one error (> where >= should have been used) which caused _fetch_writev() to incorrectly report EPIPE in certain cases. Also fix a number of const warnings by using __DECONST(), plus a signed / unsigned comparison by casting the rhs to ssize_t. Submitted by: fenner, Craig Rodrigues Revision Changes Path 1.38 +5 -6 src/lib/libfetch/common.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message