bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on s


From: Stephanie Rühsen
Subject: Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms
Date: Sat, 24 Nov 2012 19:09:44 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Samstag, 24. November 2012 schrieb Ángel González:
> On 24/11/12 12:32, Giuseppe Scrivano wrote:
> > I have pushed the following patch:
> 
> > +  char content_length[22];
> The 22 is a magic number, based in the fact
> that 1e21 > INT64_MAX
> 
> I think it should be #defined in wget.h
> 
> It could be defined variable depending on the
> different MAX values, eg. sizeof( STRINGIZE( INT64_MAX ) )

I found INT64_MAX in stdint.h. AFAIK, it is c99 !?
You don't deserve c99 featurs, do you ? ;-)

Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]