summaryrefslogtreecommitdiff
path: root/dpkg-deb/info.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-05-04 05:04:01 +0200
committerGuillem Jover <guillem@debian.org>2018-08-30 03:14:08 +0200
commit7ab849d1a814b2d2b2e29f9965fb5d51b654265a (patch)
treeb3482773eb4594ce8cc795e0ed6d60da9e4a0575 /dpkg-deb/info.c
parent3491a330369d51fe1a1fb5b738082d5e0f83badc (diff)
downloaddpkg-7ab849d1a814b2d2b2e29f9965fb5d51b654265a.tar.gz
libdpkg: Rename struct pkginfo files member to archives
Rename matching types and macros, so that the purpose of the symbols is clear, and to open the way for moving the fsys files list from the dpkg clientdata.
Diffstat (limited to 'dpkg-deb/info.c')
-rw-r--r--dpkg-deb/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index 0229f3a91..8169507c5 100644
--- a/dpkg-deb/info.c
+++ b/dpkg-deb/info.c
@@ -207,7 +207,7 @@ info_field(const char *debar, const char *dir, const char *const *fields,
int i;
controlfile = str_fmt("%s/%s", dir, CONTROLFILE);
- parsedb(controlfile, pdb_parse_binary | pdb_ignorefiles, &pkg);
+ parsedb(controlfile, pdb_parse_binary | pdb_ignore_archives, &pkg);
free(controlfile);
for (i = 0; fields[i]; i++) {
@@ -252,7 +252,7 @@ do_showinfo(const char *const *argv)
info_prepare(&argv, &debar, &dir, 1);
controlfile = str_fmt("%s/%s", dir, CONTROLFILE);
- parsedb(controlfile, pdb_parse_binary | pdb_ignorefiles, &pkg);
+ parsedb(controlfile, pdb_parse_binary | pdb_ignore_archives, &pkg);
pkg_format_show(fmt, pkg, &pkg->available);
pkg_format_free(fmt);
free(controlfile);