]> Dogcows Code - chaz/tar/commitdiff
Update invocations of name_scan.
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 14 Dec 2005 12:58:56 +0000 (12:58 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 14 Dec 2005 12:58:56 +0000 (12:58 +0000)
src/delete.c
src/incremen.c
src/update.c

index 321f0a308532e509af1f6a2e8001a49bd9a56fd8..707b024354f6ffbc928d33cc2d0dfbbb65dc605d 100644 (file)
@@ -173,7 +173,7 @@ delete_archive_members (void)
          abort ();
 
        case HEADER_SUCCESS:
-         if ((name = name_scan (current_stat_info.file_name)) == NULL)
+         if ((name = name_scan (current_stat_info.file_name, false)) == NULL)
            {
              skip_member ();
              break;
@@ -284,7 +284,7 @@ delete_archive_members (void)
 
          /* Found another header.  */
 
-         if ((name = name_scan (current_stat_info.file_name)) != NULL)
+         if ((name = name_scan (current_stat_info.file_name, false)) != NULL)
            {
              name->found_count++;
              if (ISFOUND(name))
index c0bbf4e8d06beb90ba21081e66c830636886f933..d4ef30a1add3af2cb526d79f52026f45528a4320 100644 (file)
@@ -208,7 +208,7 @@ procdir (char *name_buffer, struct stat *stat_data,
      omit it... */
   if (one_file_system_option && device != stat_data->st_dev
       /* ... except if it was explicitely given in the command line */
-      && !((np = name_scan (name_buffer)) && np->explicit))
+      && !((np = name_scan (name_buffer, true)) && np->explicit))
     directory->children = NO_CHILDREN;
   else if (children == ALL_CHILDREN)
     directory->children = ALL_CHILDREN;
index 6546b03169eaa55497cb40f12dda9cd45b374388..1806fcfafe4a67a33be7c730c3ca28029c8b13e1 100644 (file)
@@ -131,7 +131,7 @@ update_archive (void)
            archive_format = current_format;
 
            if (subcommand_option == UPDATE_SUBCOMMAND
-               && (name = name_scan (current_stat_info.file_name)) != NULL)
+               && (name = name_scan (current_stat_info.file_name, false)) != NULL)
              {
                struct stat s;
 
This page took 0.027761 seconds and 4 git commands to generate.