summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bf52d43)
If we don't specify a directory for the backends in the config file
then try to load them from the current directory.
if (config.backends_dir == NULL) {
soname = malloc(strlen(config.db_backend)
if (config.backends_dir == NULL) {
soname = malloc(strlen(config.db_backend)
+ + strlen("./libkeydb_")
- sprintf(soname, "libkeydb_%s.so", config.db_backend);
+ sprintf(soname, "./libkeydb_%s.so", config.db_backend);
} else {
soname = malloc(strlen(config.db_backend)
+ strlen("/libkeydb_")
} else {
soname = malloc(strlen(config.db_backend)
+ strlen("/libkeydb_")