AIDA Shinra <[email protected]> writes: > --- wget-1.13.4/src/http.c.orig 2011-09-07 10:58:01.000000000 +0000 > +++ wget-1.13.4/src/http.c 2012-03-19 13:58:29.000000000 +0000 > @@ -3517,7 +3517,7 @@ > char *last_period_in_local_filename = strrchr (hs->local_file, '.'); > char shortext[8]; > int len = strlen (ext); > - if (len == 5) > + if (len == 4)
I am not sure the patch is correct. `ext' includes the dot '.' character so 5 seems ok there. In any case, I wasn't able to reproduce the problem, at least in my locale. What locale are you using? Can you please provide a test case? Thanks, Giuseppe
