Skip site navigation (1)Skip section navigation (2)
Date:      02 Aug 2000 13:18:13 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Matt Heckaman <matt@ARPA.MAIL.NET>
Cc:        FreeBSD-STABLE <freebsd-stable@FreeBSD.org>
Subject:   Re: is fetch broken?
Message-ID:  <xzpittjrjwq.fsf@flood.ping.uio.no>
In-Reply-To: Matt Heckaman's message of "Tue, 1 Aug 2000 08:17:40 -0400 (EDT)"
References:  <Pine.BSF.4.21.0008010816340.5748-100000@epsilon.lucida.qc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Heckaman <matt@ARPA.MAIL.NET> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpittjrjwq.fsf>