]> Dogcows Code - chaz/tar/commitdiff
(procdir): Use is_individual_file to check for
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 20 Jun 2006 15:13:49 +0000 (15:13 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 20 Jun 2006 15:13:49 +0000 (15:13 +0000)
files explicitely specified in the command line. Fixes bug
reported by Dat Head on 19 Jun 2006 (descending into mountpoints
with --one-file-system in use)

src/incremen.c

index c0d515dd32860e9240720dc9e084b1cdea900fbc..bc8128f3c259e1d884400b199ee882c18f88359e 100644 (file)
@@ -325,7 +325,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, true)) && np->explicit))
+      && !is_individual_file (name_buffer))
     directory->children = NO_CHILDREN;
   else if (children == ALL_CHILDREN) 
     directory->children = ALL_CHILDREN;
This page took 0.023537 seconds and 4 git commands to generate.