diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-12-12 23:02:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-12-12 23:02:56 +0000 |
commit | b84d1fce0623cf44de958f99670b6dc90bc40826 (patch) | |
tree | 07911b86a0311958d51d8be603fbfca61ca620fa /mg.c | |
parent | e604303addb604f31bb8957b9148f98f5788a6bf (diff) | |
download | perl-b84d1fce0623cf44de958f99670b6dc90bc40826.tar.gz |
In theory Perl_magic_setbm() should clear SvTAIL() too. In practice,
I don't think that it matters as this routine is never actualy called
because nothing exposes PVBMs to the world so that the world can assign
to them.
p4raw-id: //depot/perl@29541
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2117,6 +2117,7 @@ Perl_magic_setbm(pTHX_ SV *sv, MAGIC *mg) { PERL_UNUSED_ARG(mg); sv_unmagic(sv, PERL_MAGIC_bm); + SvTAIL_off(sv); SvVALID_off(sv); return 0; } |