|
|
|
@ -665,7 +665,7 @@ int cl_loaddb(const char *filename, struct cl_node **root, unsigned int *signo) |
|
|
|
|
|
|
|
|
|
ret = cli_cvdload(fd, root, signo, warn); |
|
|
|
|
|
|
|
|
|
} else if(cli_strbcasestr(filename, ".hdb") || cli_strbcasestr(filename, ".hdb2")) { |
|
|
|
|
} else if(cli_strbcasestr(filename, ".hdb")) { |
|
|
|
|
ret = cli_loadhdb(fd, root, signo); |
|
|
|
|
|
|
|
|
|
} else if(cli_strbcasestr(filename, ".ndb")) { |
|
|
|
@ -708,7 +708,6 @@ int cl_loaddbdir(const char *dirname, struct cl_node **root, unsigned int *signo |
|
|
|
|
cli_strbcasestr(dent->d_name, ".db2") || |
|
|
|
|
cli_strbcasestr(dent->d_name, ".db3") || |
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb") || |
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb2") || |
|
|
|
|
cli_strbcasestr(dent->d_name, ".ndb") || |
|
|
|
|
cli_strbcasestr(dent->d_name, ".cvd"))) { |
|
|
|
|
|
|
|
|
@ -773,7 +772,6 @@ int cl_statinidir(const char *dirname, struct cl_stat *dbstat) |
|
|
|
|
cli_strbcasestr(dent->d_name, ".db2") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".db3") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb2") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".ndb") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".cvd"))) { |
|
|
|
|
|
|
|
|
@ -822,7 +820,6 @@ int cl_statchkdir(const struct cl_stat *dbstat) |
|
|
|
|
cli_strbcasestr(dent->d_name, ".db2") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".db3") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".hdb2") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".ndb") ||
|
|
|
|
|
cli_strbcasestr(dent->d_name, ".cvd"))) { |
|
|
|
|
|
|
|
|
|