Ignore:
Timestamp:
Apr 8, 2015, 2:51:23 PM (5 years ago)
Author:
jmr@…
Message:

replace eval with {*} in the last few applicable places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports_util.tcl

    r116505 r134837  
    113113        if {[llength $args] > 1} {
    114114            set list [uplevel 1 [subst -nocommands {lindex [set $varName] $idx}]]
    115             set item [eval ldindex list [lrange $args 1 end]]
     115            set item [ldindex list {*}[lrange $args 1 end]]
    116116            uplevel 1 [subst {lset $varName $idx [list $list]}]
    117117        } else {
Note: See TracChangeset for help on using the changeset viewer.