From owner-cvs-all Wed Jul 19 16:56:49 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9745937B75D; Wed, 19 Jul 2000 16:56:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA32914; Wed, 19 Jul 2000 16:56:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200007192356.QAA32914@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 19 Jul 2000 16:56:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fetch fetch.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2000/07/19 16:56:46 PDT Modified files: usr.bin/fetch fetch.c Log: Fix two bugs related to resumed transfers: - if the dates didn't match, fetch would append the received file to the existing file instead of replacing it. - if the local file was complete and up-to-date, fetch would miscalculate the expected size and report a failure instead of a success, because it had no way of knowing that the server was actually resending the entire file since the requested offset was invalid. Revision Changes Path 1.14 +27 -21 src/usr.bin/fetch/fetch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message