cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ia64 debug: failed test 60

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Aug 2003 15:19:19 +0200 (CEST)

On Thu, 7 Aug 2003, Domenico Andreoli wrote:

> i'm going to put a "-" in front of "make test" for the debug build, i cannot
> dig into it at the moment. sorry.

I logged on to the sourceforge compile farm and I managed to repeat the bug on
an AMD Opteron. It turns out this could very well happen without
--enable-debug too. The problem was fixed using this patch:

--- src/main.c~ 2003-07-15 16:47:25.000000000 -0700
+++ src/main.c 2003-08-07 06:05:12.000000000 -0700
@@ -2469,7 +2469,7 @@
   FILE *infd = stdin;
   FILE *headerfilep = NULL;
   char *urlbuffer=NULL;
- int infilesize=-1; /* -1 means unknown */
+ long infilesize=-1; /* -1 means unknown */
   bool stillflags=TRUE;

   bool allocuseragent=FALSE;

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-07