we now never use FNM_LEADING_DIR. Change a param default for consistency, and fix the doc
This commit is contained in:
parent
bba7875a10
commit
873ccf0ef6
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user