From owner-freebsd-current Wed Jul 12 23:12:31 2000 Delivered-To: freebsd-current@freebsd.org Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [210.226.20.160]) by hub.freebsd.org (Postfix) with ESMTP id 739E137B676 for ; Wed, 12 Jul 2000 23:12:27 -0700 (PDT) (envelope-from kuriyama@FreeBSD.org) Received: from waterblue.imgsrc.co.jp (localhost [127.0.0.1]) by waterblue.imgsrc.co.jp (8.11.0.Beta3/8.11.0.Beta1) with ESMTP id e6D6CKG00776; Thu, 13 Jul 2000 15:12:21 +0900 (JST) Date: Thu, 13 Jul 2000 15:12:20 +0900 Message-ID: <7m8zv6o8xn.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: des@flood.ping.uio.no Cc: FreeBSD-current@FreeBSD.org Subject: Re: fetch http://cgi returns -1 size In-Reply-To: In your message of "12 Jul 2000 10:49:54 +0200" References: <7md7kjst3c.wl@waterblue.imgsrc.co.jp> User-Agent: Wanderlust/1.1.1 (Purple Rain) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 10) (Capitol Reef) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12 Jul 2000 08:56:11 GMT, Dag-Erling Smorgrav wrote: > The bug is only in the status report, check the acutal size of > fetch.out. I fixed this in a commit half an hour ago. Thanks! By the way, current implementation of fetch(1) ignores "301 redirect" silently. Is it expected behavior? Should it make warning message without -v option? (or following redirection?) % fetch http://www.lyra.org/cgi-bin/viewcvs.cgi % ls fetch.out ls: fetch.out: No such file or directory % fetch -v -v http://www.lyra.org/cgi-bin/viewcvs.cgi looking up www.lyra.org connecting to www.lyra.org:80 requesting http://www.lyra.org:80/cgi-bin/viewcvs.cgi 301 redirect to /cgi-bin/viewcvs.cgi/ -- Jun Kuriyama // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message