we now never use FNM_LEADING_DIR. Change a param default for consistency, and fix the doc

This commit is contained in:
Jean-Francois Dockes 2014-10-10 10:23:24 +02:00
parent bba7875a10
commit 873ccf0ef6
2 changed files with 2 additions and 2 deletions

View File

@ -5107,7 +5107,7 @@ skippedPaths = ~/somedir/*.txt
<listitem><para>The values in the
<varname>*skippedPaths</varname> variables are matched by
default with <literal>fnmatch(3)</literal>, with the
FNM_PATHNAME and FNM_LEADING_DIR flags. This means that '/'
FNM_PATHNAME flag. This means that '/'
characters must be matched explicitely. You can set
<varname>skippedPathsFnmPathname</varname> to 0 to disable
the use of FNM_PATHNAME (meaning that /*/dir3 will match

View File

@ -108,7 +108,7 @@ class FsTreeWalker {
/** Test if path/name should be skipped. This can be used independantly of
* an actual tree walk */
bool inSkippedPaths(const string& path, bool ckparents = true);
bool inSkippedPaths(const string& path, bool ckparents = false);
bool inSkippedNames(const string& name);
private: