X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fnames.c;h=60a5f700c3acaa3412e14b4da7cf6c3b900c96a7;hb=7fe7adcbb985e78aaf9f78051fa26167779be1f6;hp=fc9841e25410d45f9ff3c3871ab676863af39d09;hpb=6e8bca8b5664f9070fe9cc0d16dff324eb24c069;p=chaz%2Ftar diff --git a/src/names.c b/src/names.c index fc9841e..60a5f70 100644 --- a/src/names.c +++ b/src/names.c @@ -1,7 +1,7 @@ /* Various processing of names. - Copyright 1988, 1992, 1994, 1996-2001, 2003-2007, 2009, 2013 Free - Software Foundation, Inc. + Copyright 1988, 1992, 1994, 1996-2001, 2003-2007, 2009, 2013-2014 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -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;