[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Support non-ASCII URLs
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] Support non-ASCII URLs |
Date: |
Thu, 17 Dec 2015 18:16:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi Tim,
thanks to have worked on this:
Tim Ruehsen <address@hidden> writes:
> diff --git a/src/iri.c b/src/iri.c
> index 6c6e8d3..354bfd9 100644
> --- a/src/iri.c
> +++ b/src/iri.c
> @@ -180,16 +180,10 @@ do_conversion (const char *tocode, const char
> *fromcode, char const *in_org, siz
> }
> else if (errno == E2BIG) /* Output buffer full */
> {
> - char *new;
> -
> tooshort++;
> done = len;
> - outlen = done + inlen * 2;
> - new = xmalloc (outlen + 1);
> - memcpy (new, s, done);
> - xfree (s);
> - s = new;
> - len = outlen;
> + len = outlen = done + inlen * 2;
> + s = xrealloc(s, outlen + 1);
ACK with a space between "xrealloc" and '(' :-)
Regards,
Giuseppe
- Re: [Bug-wget] URL encoding issues (Was: GNU wget 1.17.1 released), (continued)
- Re: [Bug-wget] URL encoding issues (Was: GNU wget 1.17.1 released), Andries E. Brouwer, 2015/12/15
- Re: [Bug-wget] URL encoding issues (Was: GNU wget 1.17.1 released), Tim Ruehsen, 2015/12/15
- Re: [Bug-wget] Support non-ASCII URLs (Was: GNU wget 1.17.1 released), Eli Zaretskii, 2015/12/15
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/15
- Re: [Bug-wget] Support non-ASCII URLs, Giuseppe Scrivano, 2015/12/16
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/16
- Re: [Bug-wget] Support non-ASCII URLs, Tim Ruehsen, 2015/12/17
- Re: [Bug-wget] Support non-ASCII URLs,
Giuseppe Scrivano <=
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/17
- Re: [Bug-wget] Support non-ASCII URLs, Tim Rühsen, 2015/12/17
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/17
- Re: [Bug-wget] Support non-ASCII URLs, Giuseppe Scrivano, 2015/12/18
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/18
- Re: [Bug-wget] Support non-ASCII URLs, Giuseppe Scrivano, 2015/12/18
- Re: [Bug-wget] Support non-ASCII URLs, Tim Rühsen, 2015/12/18
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/19
- Re: [Bug-wget] Support non-ASCII URLs, Eli Zaretskii, 2015/12/19
- Re: [Bug-wget] Support non-ASCII URLs, Tim Rühsen, 2015/12/20