index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-06-04 10:37:00 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-04 17:00:30 -0400 |
commit | d9ff7bbcd2eef852f18ad65d79aa6b6f7c58535c (patch) | |
tree | 1f8fb2f1b794906300ca14ac68b592136a898de1 /lib/libalpm/handle.c | |
parent | a094deacf4f6abbef10c6acf38190d4fa9d34f0e (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 10 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 9aa7cce1..d2e3dd0d 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -78,12 +78,12 @@ pmhandle_t *_alpm_handle_new() //#else handle->access = PM_ACCESS_RW; #endif - - handle->root = strdup(ROOTDIR); - handle->dbpath = strdup(DBPATH); - handle->cachedir = strdup(CACHEDIR); - handle->lockfile = strdup(LOCKFILE); handle->logmask = PM_LOG_ERROR | PM_LOG_WARNING; + handle->root = NULL; + handle->dbpath = NULL; + handle->cachedir = NULL; + handle->lockfile = NULL; + handle->logfile = NULL; return(handle); } |