From owner-freebsd-arch Sat Apr 29 5:51: 7 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id A2B9437B669 for ; Sat, 29 Apr 2000 05:51:04 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id OAA29058 for ; Sat, 29 Apr 2000 14:51:03 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA09664 for freebsd-arch@freebsd.org; Sat, 29 Apr 2000 14:51:03 +0200 (CEST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 4827C37B669 for ; Sat, 29 Apr 2000 05:50:56 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id OAA73521; Sat, 29 Apr 2000 14:50:55 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: arch@freebsd.org Subject: fetch(1) From: Dag-Erling Smorgrav Date: 29 Apr 2000 14:50:55 +0200 Message-ID: Lines: 31 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've had a fetch(3)-based version of fetch(1) in my tree for nearly a year... It implements all options except: -A (libfetch currently does not follow redirects, this may change when I rewrite the http code) -b (libfetch does not use code that triggers the bug in question) -r (libfetch doesn't know about offsets, but I plan to change that soon) -t (libfetch does not use code that triggers the bug in question) and possibly options that have been added to fetch(1) after I last synched my version with the one in the tree. I also know of a few bugs that have been fixed in our fetch(1) which I haven't fixed in my version yet (e.g. support for the year 19100 bug) but will be as soon as I have an hour or two to work on it. Size comparison: source code stripped binary current version 3487 loc 38596 bytes libfetch version 533 loc 9852 bytes So, any arguments for or against importing it into -CURRENT? DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message