X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fincremen.c;h=c0bbf4e8d06beb90ba21081e66c830636886f933;hb=91abd3da82fe8161c5f4f53270d976ff8ffe6c7a;hp=269b4ce31c521a4780e8b139cd2094cbd0d19970;hpb=5b3dc9e3dd5082af1241aa56bae17afde29892fd;p=chaz%2Ftar diff --git a/src/incremen.c b/src/incremen.c index 269b4ce..c0bbf4e 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -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;