mirror of
				https://github.com/simon987/sist2.git
				synced 2025-10-31 07:56:53 +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; | ||||
|     } | ||||
|     pthread_mutex_lock(&ScanCtx.copy_table_mu); | ||||
|     incremental_mark_file(ScanCtx.new_table, doc->path_md5); | ||||
|     pthread_mutex_unlock(&ScanCtx.copy_table_mu); | ||||
|     if (ScanCtx.new_table != NULL) { | ||||
|         pthread_mutex_lock(&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]; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user