diff --git a/inc/scanoss.h b/inc/scanoss.h index 77333a9..be7849c 100644 --- a/inc/scanoss.h +++ b/inc/scanoss.h @@ -40,7 +40,7 @@ #define WFP_REC_LN 18 /* Log files */ -#define SCANOSS_VERSION "5.4.7" +#define SCANOSS_VERSION "5.4.8" #define SCAN_LOG "/tmp/scanoss_scan.log" #define MAP_DUMP "/tmp/scanoss_map.dump" #define SLOW_QUERY_LOG "/tmp/scanoss_slow_query.log" diff --git a/src/ignored_extensions.c b/src/ignored_extensions.c index 375a0eb..94edbf0 100644 --- a/src/ignored_extensions.c +++ b/src/ignored_extensions.c @@ -51,7 +51,7 @@ char *IGNORED_EXTENSIONS[] = { ".woff", ".xht", ".xhtml", ".xls", ".xml", ".xpm", ".xsd", ".xul", ".yaml", ".yml", ".LAS",".adk",".asc",".cif",".cli",".cosmo",".deploy",".pom", ".dfm",".dmm",".fa",".fasta",".fcb",".flm",".fna",".gbr",".gen",".gro", - ".hgtags",".hh",".ihex",".kp",".mpx",".pdb",".poly",".prn",".ps",".ref", + ".hgtags",".ihex",".kp",".mpx",".pdb",".poly",".prn",".ps",".ref", ".resx",".smp",".stg",".tfa",".tsv",".vcf",".vhd",".xy",".xyz", diff --git a/src/match.c b/src/match.c index 7c7e5a2..e52d1ba 100644 --- a/src/match.c +++ b/src/match.c @@ -698,7 +698,7 @@ void match_select_best(scan_data_t *scan) static struct ranges r = {NULL, NULL, NULL}; r = hpsm_calc(scan->matches_list_array[i]->best_match->file_md5); scanlog("HPSM range: %s\n", r.local); - if (*r.local && !strstr(r.local,"-1")) //check if HPSM was able to run + if (*r.local && strcmp(r.local,"-1")) //check if HPSM was able to run { if (hpsm_enabled && r.matched && !memcmp(r.matched, "0%%", 2)) {