bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Bug Minor FTP parsing problem - can't parse month names i


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] Bug Minor FTP parsing problem - can't parse month names in uppercase
Date: Sat, 14 Sep 2013 11:37:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Bykov Aleksey" <address@hidden> writes:

> Possible solutions:
> diff --git a/src/ftp-ls.c b/src/ftp-ls.c
> --- a/src/ftp-ls.c
> +++ b/src/ftp-ls.c
> @@ -199,7 +199,7 @@ ftp_parse_unix_ls (const char *file, int ignore_perms)
>            if (next < 0)         /* a month name was not encountered */
>              {
>                for (i = 0; i < 12; i++)
> -                if (!strcmp (tok, months[i]))
> +                if (!strcasecmp (tok, months[i]))
>                    break;
>                /* If we got a month, it means the token before it is the
>                   size, and the filename is three tokens away.  */

thanks for your patch.  Would you mind to add the Changelog file entry
and send the patch using git format-patch or git send-email?

Thanks,
Giuseppe



reply via email to

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