From: Sergey Poznyakoff Date: Wed, 28 Sep 2005 19:41:15 +0000 (+0000) Subject: (all_names_found): If test_label_option is set return true X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=13aead50a8cb8b20532a4eb26dd84cde52970806;p=chaz%2Ftar (all_names_found): If test_label_option is set return true --- diff --git a/src/names.c b/src/names.c index 1839607..e6082d8 100644 --- a/src/names.c +++ b/src/names.c @@ -538,6 +538,8 @@ all_names_found (struct tar_stat_info *p) struct name const *cursor; size_t len; + if (test_label_option) + return true; if (!p->file_name || occurrence_option == 0 || p->had_trailing_slash) return false; len = strlen (p->file_name);