/[tar]/tar/src/names.c
ViewVC logotype

Diff of /tar/src/names.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by gray, Wed Oct 8 11:17:52 2003 UTC revision 1.33 by gray, Thu Nov 13 08:46:53 2003 UTC
# Line 608  bool Line 608  bool
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

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26