From owner-freebsd-stable Wed Aug 2 4:18:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7A12D37B505 for ; Wed, 2 Aug 2000 04:18:18 -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 NAA31327; Wed, 2 Aug 2000 13:18:14 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Matt Heckaman Cc: FreeBSD-STABLE Subject: Re: is fetch broken? References: From: Dag-Erling Smorgrav Date: 02 Aug 2000 13:18:13 +0200 In-Reply-To: Matt Heckaman's message of "Tue, 1 Aug 2000 08:17:40 -0400 (EDT)" 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-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Heckaman writes: > *nods* It still breaks wmstock though, it never sees itself as getting the > complete file and errors out, and keeps on trying making temporary files > that it never knows are correct :) Thank you for the quick diagnoses > though, it's appreciated. Quick fix (I think): Index: http.c =================================================================== RCS file: /home/ncvs/src/lib/libfetch/http.c,v retrieving revision 1.34 diff -u -r1.34 http.c --- http.c 2000/07/25 11:45:38 1.34 +++ http.c 2000/08/02 11:17:09 @@ -770,8 +770,7 @@ struct url *url, *new; int chunked, need_auth, noredirect, proxy, verbose; int code, fd, i, n; - off_t offset; - size_t clength, length, size; + off_t offset, clength, length, size; time_t mtime; char *p; FILE *f; Now, the question is why gcc didn't warn me about this... DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message