diff options
author | Guillem Jover <guillem@debian.org> | 2014-05-28 01:27:07 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-05-28 01:27:07 +0200 |
commit | f29cb1dbe37379680189f88c1bd0517ecfe1c34c (patch) | |
tree | cf767f8d1b8df32b7ec9f3bf473832fd9f357347 /src | |
parent | d504365c196426bb9475c4a3b82f5abadfcabbc9 (diff) | |
download | dpkg-f29cb1dbe37379680189f88c1bd0517ecfe1c34c.tar.gz |
libdpkg: Uppercase and reword pkg_spec_flags enum values
Diffstat (limited to 'src')
-rw-r--r-- | src/querycmd.c | 4 | ||||
-rw-r--r-- | src/select.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/querycmd.c b/src/querycmd.c index 65c393bc3..cab1eb0c9 100644 --- a/src/querycmd.c +++ b/src/querycmd.c @@ -294,7 +294,7 @@ listpackages(const char *const *argv) ps = m_malloc(sizeof(*ps) * argc); for (ip = 0; ip < argc; ip++) { - pkg_spec_init(&ps[ip], psf_patterns | psf_arch_def_wildcard); + pkg_spec_init(&ps[ip], PKG_SPEC_PATTERNS | PKG_SPEC_ARCH_WILDCARD); pkg_spec_parse(&ps[ip], argv[ip]); } @@ -579,7 +579,7 @@ showpackages(const char *const *argv) ps = m_malloc(sizeof(*ps) * argc); for (ip = 0; ip < argc; ip++) { - pkg_spec_init(&ps[ip], psf_patterns | psf_arch_def_wildcard); + pkg_spec_init(&ps[ip], PKG_SPEC_PATTERNS | PKG_SPEC_ARCH_WILDCARD); pkg_spec_parse(&ps[ip], argv[ip]); } diff --git a/src/select.c b/src/select.c index be0edf452..2d43a1f0e 100644 --- a/src/select.c +++ b/src/select.c @@ -80,7 +80,7 @@ getselections(const char *const *argv) struct pkg_spec pkgspec; found= 0; - pkg_spec_init(&pkgspec, psf_patterns | psf_arch_def_wildcard); + pkg_spec_init(&pkgspec, PKG_SPEC_PATTERNS | PKG_SPEC_ARCH_WILDCARD); pkg_spec_parse(&pkgspec, thisarg); for (i = 0; i < array.n_pkgs; i++) { |