Merging upstream version 0.16.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
cf7dc90711
commit
e896ecf9fe
20 changed files with 854 additions and 662 deletions
|
@ -47,6 +47,7 @@ bool Exclude::excluded( const char * const filename )
|
|||
while( *p )
|
||||
{
|
||||
for( unsigned i = 0; i < patterns.size(); ++i )
|
||||
// ignore a trailing sequence starting with '/' in filename
|
||||
#ifdef FNM_LEADING_DIR
|
||||
if( fnmatch( patterns[i].c_str(), p, FNM_LEADING_DIR ) == 0 ) return true;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue