Changeset 4052 for src/perl5

Show
Ignore:
Timestamp:
05/28/05 14:54:11 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
5515
Message:

* remove the arbitary 128-char limit on perl5 calling pugs

methods, as the leading '&' is not mandatory in callconv.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl5/perl5.c

    r4041 r4052  
    4040    } 
    4141    else { 
    42         char pugs_method[128], *method, *fullname; 
     42        char *method, *fullname; 
    4343        fullname = SvPV_nolen(sv); 
    4444        method = strrchr(fullname, ':'); 
    4545        method = method ? method+1 : fullname; 
    46         snprintf(pugs_method, 128, "&%s", method); 
    47         val = pugs_PvToVal(pugs_method); 
     46        val = pugs_PvToVal(method); 
    4847    } 
    4948    inv = SvOK(ST(1)) ? pugs_SvToVal(ST(1)) : NULL;