andrewdagger@xerox.gbr.com)
added note about multiple excludes per exclude option
}
for (i=0;exclude_list[i];i++) {
- char *pattern = exclude_list[i]->pattern;
int l;
+ char pattern[MAXPATHLEN];
+
+ strlcpy(pattern,exclude_list[i]->pattern,sizeof(pattern));
+ if (exclude_list[i]->directory) strlcat(pattern,"/", sizeof(pattern));
l = strlen(pattern);
if (l == 0) continue;
skipped. If no matching include/exclude pattern is found then the
filename is not skipped.
+Note that the --include and --exclude options take one pattern
+each. To add multiple patterns use the --include-from and
+--exclude-from options or multiple --include and --exclude options.
+
The patterns can take several forms. The rules are:
itemize(