Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-11-07 13:01:10 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-11-07 13:01:10 +0000
commitbf865c2da588591dad2c6973875024015d75fc88 (patch)
tree04bba73735eddda0c266c9893bf3d657f921e096 /lib/libalpm/alpm.c
parentfffe7a8ef413bac8805e343d889d6dcf31763b9e (diff)
cleanup
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 4719c493..0af5fcca 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -262,7 +262,6 @@ void *alpm_db_getinfo(PM_DB *db, unsigned char parm)
int alpm_db_update(PM_DB *db, char *archive, char *ts)
{
- struct stat buf;
PMList *lp;
/* Sanity checks */
@@ -300,7 +299,7 @@ int alpm_db_update(PM_DB *db, char *archive, char *ts)
/* uncompress the sync database */
/* ORE
we should not simply unpack the archive, but better parse it and
- db_write each entry */
+ db_write each entry (see sync_load_dbarchive to get archive content) */
_alpm_log(PM_LOG_FLOW2, "unpacking %s", archive);
if(_alpm_unpack(archive, db->path, NULL)) {
RET_ERR(PM_ERR_XXX, -1);