Przeglądaj źródła

(procdir): Use is_individual_file to check for
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)

Sergey Poznyakoff 19 lat temu
rodzic
commit
b6fcb4ba8f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/incremen.c

+ 1 - 1
src/incremen.c

@@ -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;