diff options
author | Guillem Jover <guillem@debian.org> | 2018-05-04 05:04:01 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-08-30 03:14:08 +0200 |
commit | 7ab849d1a814b2d2b2e29f9965fb5d51b654265a (patch) | |
tree | b3482773eb4594ce8cc795e0ed6d60da9e4a0575 /dpkg-deb/info.c | |
parent | 3491a330369d51fe1a1fb5b738082d5e0f83badc (diff) | |
download | dpkg-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.c | 4 |
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); |