This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
follow up fix for fd69380d5d5b95ef16e2521cf4251b34ee0ce151
authorDavid Mitchell <davem@iabyn.com>
Wed, 21 Apr 2010 17:47:07 +0000 (18:47 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 21 Apr 2010 18:01:00 +0000 (19:01 +0100)
commit2d961f6deff76f15f1e5c200d92c2ea6139bcdd2
treed1213af331d0d6578906cded557681a10ff95d11
parent433d4b0fb3195bdf6cc90be8b502b4308c90d578
follow up fix for fd69380d5d5b95ef16e2521cf4251b34ee0ce151

The original fix for tied elements losing magic had a bug that was masked
by a bool casting issue. Once the casting was fixed, the bug surfaced:
elements of @+ lost their values when returned from a sub. By removing the
TEMP flag from the regdatum PVLV, we force it to be copied when returned.
av.c
t/op/magic.t