608 |
all_names_found (struct tar_stat_info *p) |
all_names_found (struct tar_stat_info *p) |
609 |
{ |
{ |
610 |
struct name const *cursor; |
struct name const *cursor; |
611 |
size_t len = strlen (p->file_name); |
size_t len; |
612 |
if (occurrence_option == 0 || p->had_trailing_slash) |
|
613 |
|
if (!p->file_name || occurrence_option == 0 || p->had_trailing_slash) |
614 |
return false; |
return false; |
615 |
|
len = strlen (p->file_name); |
616 |
for (cursor = namelist; cursor; cursor = cursor->next) |
for (cursor = namelist; cursor; cursor = cursor->next) |
617 |
{ |
{ |
618 |
if (cursor->regexp |
if (cursor->regexp |