Changeset 20440 for perl5

Show
Ignore:
Timestamp:
05/17/08 17:16:58 (8 months ago)
Author:
clkao
Message:

fix copy mode pad assignment.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • perl5/Data-Bind/Bind.xs

    r20439 r20440  
    241241        /* XXX: check if order is over items, if so it means it's empty and we should apply default_sub->() */ 
    242242        if (SvIVX(mode)) { 
     243            PAD_SVl(order) = newSV(0); 
    243244            SvSetSV(PAD_SVl(order), SvREFCNT_inc(current_arg)); 
    244245        }