mirror of
https://github.com/simon987/sist2.git
synced 2025-04-18 17:56:44 +00:00
Fix attempt for excludes
This commit is contained in:
parent
bb91139ffb
commit
27e32db1ed
@ -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);
|
pthread_mutex_lock(&ScanCtx.dbg_file_counts_mu);
|
||||||
ScanCtx.dbg_excluded_files_count += 1;
|
ScanCtx.dbg_excluded_files_count += 1;
|
||||||
pthread_mutex_unlock(&ScanCtx.dbg_file_counts_mu);
|
pthread_mutex_unlock(&ScanCtx.dbg_file_counts_mu);
|
||||||
return 0;
|
|
||||||
} else if (typeflag == FTW_D) {
|
} else if (typeflag == FTW_D) {
|
||||||
return FTW_SKIP_SUBTREE;
|
return FTW_SKIP_SUBTREE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return FTW_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeflag == FTW_F && S_ISREG(info->st_mode)) {
|
if (typeflag == FTW_F && S_ISREG(info->st_mode)) {
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "git_hash.h"
|
#include "git_hash.h"
|
||||||
|
|
||||||
#define VERSION "2.11.5"
|
#define VERSION "2.11.6"
|
||||||
static const char *const Version = VERSION;
|
static const char *const Version = VERSION;
|
||||||
|
|
||||||
#ifndef SIST_PLATFORM
|
#ifndef SIST_PLATFORM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user