Tags: patch Hi. Here is a small patch for this.
diff -ur yafc-1.1.1/src/ftp/rglob.c yafc-1.1.1.new/src/ftp/rglob.c --- yafc-1.1.1/src/ftp/rglob.c 2004-05-20 06:10:52.000000000 -0500 +++ yafc-1.1.1.new/src/ftp/rglob.c 2006-09-21 10:04:06.000000000 -0500 @@ -32,11 +32,11 @@ return risdotdir(f); } -static bool contains_wildcards(char *str) +/*static bool contains_wildcards(char *str) { return (strqchr(str, '*') != 0 || strqchr(str, '?') != 0 || strqchr(str, '[') != 0 || strqchr(str, ']') != 0); -} +}*/ /* appends rglob items in list LP matching MASK * EXCLUDE_FUNC (if not 0) is called for each fileinfo item found @@ -115,7 +115,7 @@ char *p; bool ignore_item; - if(!cpifnomatch || mp == 0 || *mp == 0 || contains_wildcards(mp)) { + if(!cpifnomatch || mp == 0 || *mp == 0) { free(mp); return -1; }