[Top][All Lists]
[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: |
Ángel González |
Subject: |
Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms |
Date: |
Mon, 26 Nov 2012 16:22:18 +0100 |
User-agent: |
Thunderbird |
On 26/11/12 00:04, Giuseppe Scrivano wrote:
> that is a good idea, we can add something like:
>
> #define MAX_INT_TO_STRING_LEN(x) (sizeof(x) * 24082 / 10000) + 2
>
> where `x' in our case will be off_t.
>
> I am not sure if such a function already exists somewhere.
>
> Does it improve readability?
Well, that just brings the question «Where does 24082 come from?» but if
that used for eg.
#define STRSIZE_WGINT MAX_INT_TO_STRING_LEN(wgint)
Then using STRSIZE_WGINT would be more readable :)
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, (continued)
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/24
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Stephanie Rühsen, 2012/11/24
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/24
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Giuseppe Scrivano, 2012/11/25
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/26
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Ángel González, 2012/11/26
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Giuseppe Scrivano, 2012/11/25
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms,
Ángel González <=
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Giuseppe Scrivano, 2012/11/26
- Re: [Bug-wget] [PATCH] Invalid Content-Length header in WARC files, on some platforms, Tim Ruehsen, 2012/11/27
Re: [Bug-wget] Invalid Content-Length header in WARC files, on some platforms, David Ryskalczyk, 2012/11/13