Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 8d220ada..28f07507 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -76,6 +76,9 @@ pmhandle_t *handle_new()
handle->access = PM_ACCESS_RW;
#endif
+ handle->dbpath = strdup(PM_DBPATH);
+ handle->cachedir = strdup(PM_CACHEDIR);
+
return(handle);
}