X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fnames.c;h=594e7fdd591a3116fb54dfc796c3562e7b5e983b;hb=852895847f41f9b5f268fc84f892c94497f4ffbe;hp=60a5f700c3acaa3412e14b4da7cf6c3b900c96a7;hpb=45ccda119355a1087450039a250359c1d0de0d08;p=chaz%2Ftar diff --git a/src/names.c b/src/names.c index 60a5f70..594e7fd 100644 --- a/src/names.c +++ b/src/names.c @@ -439,7 +439,7 @@ handle_option (const char *str) int i; while (*str && isspace (*str)) - ; + ++str; if (*str != '-') return 1; @@ -1373,12 +1373,6 @@ new_name (const char *file_name, const char *name) return buffer; } -/* Return nonzero if file NAME is excluded. */ -bool -excluded_name (char const *name) -{ - return excluded_file_name (excluded, name + FILE_SYSTEM_PREFIX_LEN (name)); -} /* Return the size of the prefix of FILE_NAME that is removed after