Skip to content

Commit

Permalink
Merge pull request #77 from scanoss/5.4.8
Browse files Browse the repository at this point in the history
Solve minor bugs
  • Loading branch information
mscasso-scanoss authored Aug 10, 2024
2 parents 8512a52 + 09fb139 commit 1d8858a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/scanoss.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/ignored_extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",


Expand Down
2 changes: 1 addition & 1 deletion src/match.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 1d8858a

Please sign in to comment.