diff options
author | Allan McRae <allan@archlinux.org> | 2010-10-09 15:31:29 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-10-14 05:17:39 +0200 |
commit | 5e61f077357de1767efada259aeb824bcbfe0086 (patch) | |
tree | 3ce5d90510e1ca484efab9c87cda6a4e0bcafcc4 /lib/libalpm/be_local.c | |
parent | fc32faaa6ab4081e2046b2a81e4f9949af2f7282 (diff) | |
download | pacman-5e61f077357de1767efada259aeb824bcbfe0086.tar.gz pacman-5e61f077357de1767efada259aeb824bcbfe0086.tar.xz |
Populate sync db from archive
Read in list of packages for sync db from tar archive.
Breaks reading in _alpm_sync_db_read and a lot of pactests (which
is expected as they do not handle sync db in archives...).
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r-- | lib/libalpm/be_local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index d5378cfb..05bd47cf 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -358,6 +358,7 @@ int _alpm_local_db_populate(pmdb_t *db) } while((ent = readdir(dbdir)) != NULL) { const char *name = ent->d_name; + pmpkg_t *pkg; if(strcmp(name, ".") == 0 || strcmp(name, "..") == 0) { |