mirror of
https://github.com/simon987/sist2.git
synced 2025-04-16 00:46:43 +00:00
parse: fix full scan regression
This commit is contained in:
parent
8f7edf3190
commit
501064da10
@ -89,9 +89,11 @@ void parse(void *arg) {
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pthread_mutex_lock(&ScanCtx.copy_table_mu);
|
if (ScanCtx.new_table != NULL) {
|
||||||
incremental_mark_file(ScanCtx.new_table, doc->path_md5);
|
pthread_mutex_lock(&ScanCtx.copy_table_mu);
|
||||||
pthread_mutex_unlock(&ScanCtx.copy_table_mu);
|
incremental_mark_file(ScanCtx.new_table, doc->path_md5);
|
||||||
|
pthread_mutex_unlock(&ScanCtx.copy_table_mu);
|
||||||
|
}
|
||||||
|
|
||||||
char *buf[MAGIC_BUF_SIZE];
|
char *buf[MAGIC_BUF_SIZE];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user