From owner-cvs-all@FreeBSD.ORG Sun Aug 15 22:22:36 2004 Return-Path: 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 6721516A4CE; Sun, 15 Aug 2004 22:22:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42D5043D55; Sun, 15 Aug 2004 22:22:36 +0000 (GMT) (envelope-from des@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 i7FMMan4018958; Sun, 15 Aug 2004 22:22:36 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7FMMae2018957; Sun, 15 Aug 2004 22:22:36 GMT (envelope-from des) Message-Id: <200408152222.i7FMMae2018957@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Sun, 15 Aug 2004 22:22:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/fetch fetch.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 22:22:36 -0000 des 2004-08-15 22:22:36 UTC FreeBSD src repository Modified files: usr.bin/fetch fetch.c Log: Fix a couple of edge cases in which sb.st_size may be incorrect or meaningless. In particular, don't assume that it is left untouched if stat(2) fails; that assumption happens to fail at high optimization levels on some platforms. MFC after: 1 week Revision Changes Path 1.72 +16 -5 src/usr.bin/fetch/fetch.c