[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Tar 1.27.1 no-recursion + recursion error
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Tar 1.27.1 no-recursion + recursion error |
Date: |
Wed, 08 Jan 2014 23:18:26 +0200 |
Kai <address@hidden> 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;