]> Dogcows Code - chaz/tar/commitdiff
(procdir): If name_scan() returns something, check if it was explicitely given in...
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 13 Dec 2005 13:32:14 +0000 (13:32 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 13 Dec 2005 13:32:14 +0000 (13:32 +0000)
src/incremen.c

index 269b4ce31c521a4780e8b139cd2094cbd0d19970..c0bbf4e8d06beb90ba21081e66c830636886f933 100644 (file)
@@ -150,6 +150,7 @@ procdir (char *name_buffer, struct stat *stat_data,
 { 
   struct directory *directory;
   bool nfs = NFS_FILE_STAT (*stat_data);
+  struct name *np;
   
   if ((directory = find_directory (name_buffer)) != NULL)
     {
@@ -207,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 */
-      && !name_scan (name_buffer))
+      && !((np = name_scan (name_buffer)) && np->explicit))
     directory->children = NO_CHILDREN;
   else if (children == ALL_CHILDREN)
     directory->children = ALL_CHILDREN;
This page took 0.024314 seconds and 4 git commands to generate.