From owner-cvs-all Wed Jul 12 13:53:11 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 4371D37BFE9; Wed, 12 Jul 2000 13:53:08 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA04793; Wed, 12 Jul 2000 13:53:08 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200007122053.NAA04793@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 12 Jul 2000 13:53:08 -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/12 13:53:08 PDT Modified files: usr.bin/fetch fetch.c Log: Rework the stats code for the nth time. Much cleaner now. Always display the completion percentage if stderr is a tty. Drop the char-by-char transfer mode, it was based on an incorrect assumption regarding the semantics of fread(). Finally (I hope) straighten out the business of setting the mtime, as well as when to remove the output file and when not to. Thanks are owed to the many who have provided nearly instantaneous and highly constructive feedback and suggestions about these matters. Revision Changes Path 1.8 +63 -99 src/usr.bin/fetch/fetch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message