index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-05-03 17:41:19 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-05-03 17:41:19 +0000 |
commit | 80a5ffa8d82933c0436c714b512ad6385b692465 (patch) | |
tree | 8ae863a4553fd45c029e399903e4ea20103c2229 /lib/libalpm/db.c | |
parent | d5bfc60734f9bc7ee0877394e667c135081012b7 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 4 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 8ff5cc7f..7f24224b 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -43,6 +43,8 @@ pmdb_t *db_open(char *root, char *dbpath, char *treename) return(NULL); } + _alpm_log(PM_LOG_DEBUG, "opening database '%s'", treename); + MALLOC(db, sizeof(pmdb_t)); MALLOC(db->path, strlen(root)+strlen(dbpath)+strlen(treename)+2); @@ -71,6 +73,8 @@ void db_close(pmdb_t *db) return; } + _alpm_log(PM_LOG_DEBUG, "closing database '%s'", db->treename); + if(db->dir) { closedir(db->dir); db->dir = NULL; |