--- wget-1.10/src/utils.c +++ wget-1.10/src/utils.c @@ -703,7 +703,7 @@ char *p = *x + ((flags & ALLABS) && (**x == '/')); if (has_wildcards_p (p)) { - if (fnmatch (p, s, FNM_PATHNAME) == 0) + if (fnmatch (p, s, 0) == 0) break; } else