Skip to content

Solve minor bugs #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading