Ignore:
Timestamp:
May 11, 2015, 2:15:46 PM (4 years ago)
Author:
larryv@…
Message:

muniversal-1.0: Fix merger-post-destroot (#47698)

A procedure with a final args parameter sets that parameter to a list
containing its excess arguments.

I don't know how this ever worked, frankly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

    r135550 r136055  
    9898        set origproc [ditem_key $ditem procedure]
    9999        set ident [ditem_key $ditem name]
    100         proc merger-post-$target {args} "
     100        proc merger-post-$target code "
    101101            variable proc_index
    102102            set proc_index \[llength \[ditem_key $ditem post\]\]
     
    109109                }
    110110            \"
    111             makeuserproc userproc-merger-post-${ident}-${target}-\${proc_index} \$args
     111            makeuserproc userproc-merger-post-${ident}-${target}-\${proc_index} \$code
    112112        "
    113113    }
Note: See TracChangeset for help on using the changeset viewer.