From: Sergey Poznyakoff Date: Tue, 20 Jun 2006 15:13:49 +0000 (+0000) Subject: (procdir): Use is_individual_file to check for X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b6fcb4ba8f32f470fea0f7375948153853cfcc71;hp=6d1e9ab67e9df4666f7039c6fde8af2168186b34;p=chaz%2Ftar (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) --- 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;