diff options
author | Michael Vogt <mvo@debian.org> | 2014-02-20 14:41:24 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-02-20 14:41:24 +0100 |
commit | 7e75a619f6d35c492c1341096096432109facfc5 (patch) | |
tree | 19408f7c1ca191ecc874f53e6921f2a590b37dad | |
parent | 7d99e17ed33aa2d0c24d067d8bea5101af34fcad (diff) | |
download | apt-7e75a619f6d35c492c1341096096432109facfc5.tar.gz |
prepare re-enable fnmatch() once we have proper reporting
-rw-r--r-- | apt-pkg/cacheset.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cacheset.cc b/apt-pkg/cacheset.cc index eab1e09f8..6b6fdb5ad 100644 --- a/apt-pkg/cacheset.cc +++ b/apt-pkg/cacheset.cc @@ -312,6 +312,9 @@ bool PackageContainerInterface::FromString(PackageContainerInterface * const pci if (FromGroup(pci, Cache, str, helper) == false && FromTask(pci, Cache, str, helper) == false && +#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13) + FromFnmatch(pci, Cache, str, helper) == false) +#endif FromRegEx(pci, Cache, str, helper) == false) { helper.canNotFindPackage(pci, Cache, str); |