index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-07-10 14:24:58 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-10 14:24:58 -0400 |
commit | ea1fef69add040b9e5b1de6e9238eda4576ccd3f (patch) | |
tree | f1f99bdb3ca0dd5b0360c33bda4ea14d7ecb72e5 /lib/libalpm/handle.c | |
parent | 9a9928f1b88f4fa08826aa83ff16e6ef38bd4e6c (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 5 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index b1fd45f2..759c14cf 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -153,6 +153,7 @@ void SYMEXPORT alpm_option_set_root(const char *root) if(realroot) { free(realroot); } + _alpm_log(PM_LOG_DEBUG, "option 'root' = %s", handle->root); } void SYMEXPORT alpm_option_set_dbpath(const char *dbpath) @@ -170,11 +171,13 @@ void SYMEXPORT alpm_option_set_dbpath(const char *dbpath) handle->dbpath = calloc(dbpathlen+1, sizeof(char)); strncpy(handle->dbpath, dbpath, dbpathlen); handle->dbpath[dbpathlen-1] = '/'; + _alpm_log(PM_LOG_DEBUG, "option 'dbpath' = %s", handle->dbpath); const char *lf = "db.lck"; int lockfilelen = strlen(handle->dbpath) + strlen(lf); handle->lockfile = calloc(lockfilelen + 1, sizeof(char)); snprintf(handle->lockfile, lockfilelen, "%s%s", handle->dbpath, lf); + _alpm_log(PM_LOG_DEBUG, "option 'lockfile' = %s", handle->lockfile); } } @@ -194,7 +197,7 @@ void SYMEXPORT alpm_option_add_cachedir(const char *cachedir) strncpy(newcachedir, cachedir, cachedirlen); newcachedir[cachedirlen-1] = '/'; handle->cachedirs = alpm_list_add(handle->cachedirs, newcachedir); - _alpm_log(PM_LOG_DEBUG, _("option 'cachedir' = %s"), newcachedir); + _alpm_log(PM_LOG_DEBUG, "option 'cachedir' = %s", newcachedir); } } |