From b6fcb4ba8f32f470fea0f7375948153853cfcc71 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 20 Jun 2006 15:13:49 +0000 Subject: [PATCH] (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) --- src/incremen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/incremen.c b/src/incremen.c index c0d515d..bc8128f 100644 --- a/src/incremen.c +++ b/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; -- 2.45.2