diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-09 10:53:25 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-09 10:53:25 +0000 |
commit | 3cc8d5892ed2db9918b7fc38862edb74459a28d0 (patch) | |
tree | cb74a60eb0706b50cf209b514371c18e67ba962a /op.c | |
parent | 991291971c0fe19bdc39018b7d7361ccc75bdbcf (diff) | |
download | perl-3cc8d5892ed2db9918b7fc38862edb74459a28d0.tar.gz |
Bodge MAD code to get pack.t and ext/Encode/t/Encode.t passing.
p4raw-id: //depot/perl@27430
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -332,8 +332,14 @@ Perl_op_clear(pTHX_ OP *o) #ifdef PERL_MAD /* if (o->op_madprop && o->op_madprop->mad_next) abort(); */ - mad_free(o->op_madprop); - o->op_madprop = 0; + /* FIXME for MAD - if I uncomment these two lines t/op/pack.t fails with + "modification of a read only value" for a reason I can't fathom why. + It's the "" stringification of $_, where $_ was set to '' in a foreach + loop, but it defies simplification into a small test case. */ + /* + mad_free(o->op_madprop); + o->op_madprop = 0; + */ #endif retry: |