From 910fd6a687db751a7b95829c2b028d6c5d60c3e8 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 20 Feb 2006 20:59:35 +0000 Subject: the library must provide default values for main options --- lib/libalpm/handle.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libalpm/handle.c') 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); } -- cgit v1.2.3