[137852] branches/gsoc15-dependency/base/src/macports1.0/macports.tcl

ijackson at macports.org ijackson at macports.org
Sun Jun 21 14:39:30 PDT 2015


Revision: 137852
          https://trac.macports.org/changeset/137852
Author:   ijackson at macports.org
Date:     2015-06-21 14:39:30 -0700 (Sun, 21 Jun 2015)
Log Message:
-----------
Remove check for $field == "yes" in mportsearch.
Previously $field was set "yes" due to incorrect
use of 'array get' which is fixed in r137850.

Revision Links:
--------------
    https://trac.macports.org/changeset/137850

Modified Paths:
--------------
    branches/gsoc15-dependency/base/src/macports1.0/macports.tcl

Modified: branches/gsoc15-dependency/base/src/macports1.0/macports.tcl
===================================================================
--- branches/gsoc15-dependency/base/src/macports1.0/macports.tcl	2015-06-21 21:28:25 UTC (rev 137851)
+++ branches/gsoc15-dependency/base/src/macports1.0/macports.tcl	2015-06-21 21:39:30 UTC (rev 137852)
@@ -2742,16 +2742,11 @@
     ## Use libsolv search if -l is passed
     if {[info exists macports::global_options(ports_depengine)]} {
         if {$macports::global_options(ports_depengine) eq "libsolv"} {
-            ## If $field == "yes" do not call libsolv search
-            #  as nothing useful is done in libsolv search for "yes"
-            #  and save some computation time.
-            if {$field ne "yes"} {
-                macports::libsolv::create_pool
-                # macports::libsolv::print
-                set search_res [macports::libsolv::search $pattern \
-                $case_sensitive $matchstyle $field]
-                return $search_res
-            }
+            macports::libsolv::create_pool
+            # macports::libsolv::print
+            set search_res [macports::libsolv::search $pattern \
+            $case_sensitive $matchstyle $field]
+            return $search_res
         }
     } else {
         ## Use builtin search algorithm.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150621/4dfe9c2c/attachment-0001.html>


More information about the macports-changes mailing list