Fix attempt for excludes

This commit is contained in:
simon987 2021-11-17 20:18:48 -05:00
parent bb91139ffb
commit 27e32db1ed
2 changed files with 3 additions and 2 deletions

View File

@ -57,10 +57,11 @@ int handle_entry(const char *filepath, const struct stat *info, int typeflag, st
pthread_mutex_lock(&ScanCtx.dbg_file_counts_mu);
ScanCtx.dbg_excluded_files_count += 1;
pthread_mutex_unlock(&ScanCtx.dbg_file_counts_mu);
return 0;
} else if (typeflag == FTW_D) {
return FTW_SKIP_SUBTREE;
}
return FTW_CONTINUE;
}
if (typeflag == FTW_F && S_ISREG(info->st_mode)) {

View File

@ -53,7 +53,7 @@
#include <ctype.h>
#include "git_hash.h"
#define VERSION "2.11.5"
#define VERSION "2.11.6"
static const char *const Version = VERSION;
#ifndef SIST_PLATFORM