diff options
author | Artur Bergman <sky@nanisky.com> | 2001-10-23 18:27:27 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-10-23 18:27:27 +0000 |
commit | bf95df474ef4c732b38deb40ee7e140fa007de57 (patch) | |
tree | 82f7a918e6146560e17e51a37bcf9912df53e023 /sv.c | |
parent | 7e965bc58989a71d513c78f8a7f04de80370e4c0 (diff) | |
download | perl-bf95df474ef4c732b38deb40ee7e140fa007de57.tar.gz |
Call setmagic on the referent we are blessing.
p4raw-id: //depot/perl@12607
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7205,6 +7205,8 @@ Perl_sv_bless(pTHX_ SV *sv, HV *stash) else SvAMAGIC_off(sv); + SvSETMAGIC(tmpRef); + return sv; } |