Kai <[email protected]> ha escrit: > Is it bug or I shouldn't use --no-recursion and --recursion at same time?
It is a bug. Thanks for reporting. Please find attached a patch. Regards, Sergey
diff --git a/src/names.c b/src/names.c index fc9841e..7777dc1 100644 --- a/src/names.c +++ b/src/names.c @@ -570,6 +570,7 @@ name_next_elt (int change_dirs) case NELT_FMASK: matching_flags = ep->v.matching_flags; + recursion_option = matching_flags & FNM_LEADING_DIR; name_list_advance (); continue;
