]> git.saurik.com Git - apt.git/commitdiff
prepare re-enable fnmatch() once we have proper reporting
authorMichael Vogt <mvo@debian.org>
Thu, 20 Feb 2014 13:41:24 +0000 (14:41 +0100)
committerMichael Vogt <mvo@debian.org>
Thu, 20 Feb 2014 13:41:24 +0000 (14:41 +0100)
apt-pkg/cacheset.cc

index eab1e09f86d23284a3b19fce1feecb0156e75798..6b6fdb5ad8ebac2c64d32fa52be8e35eaa163466 100644 (file)
@@ -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);