From: Rafael Garcia-Suarez Date: Wed, 21 May 2008 14:42:48 +0000 (+0200) Subject: Re: [perl #54566] assertion failure fiddling with @ISA X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea86b3de3510ce31d0c08dd6a21701d74b25369d;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #54566] assertion failure fiddling with @ISA From: "Rafael Garcia-Suarez" Message-ID: p4raw-id: //depot/perl@33898 --- diff --git a/mg.c b/mg.c index f3e6ae9..6012d32 100644 --- a/mg.c +++ b/mg.c @@ -1583,7 +1583,7 @@ Perl_magic_setisa(pTHX_ SV *sv, MAGIC *mg) stash = GvSTASH( SvTYPE(mg->mg_obj) == SVt_PVGV ? (GV*)mg->mg_obj - : (GV*)SvMAGIC(mg->mg_obj)->mg_obj + : (GV*)mg_find(mg->mg_obj, PERL_MAGIC_isa)->mg_obj ); if (stash) @@ -1609,7 +1609,7 @@ Perl_magic_clearisa(pTHX_ SV *sv, MAGIC *mg) stash = GvSTASH( SvTYPE(mg->mg_obj) == SVt_PVGV ? (GV*)mg->mg_obj - : (GV*)SvMAGIC(mg->mg_obj)->mg_obj + : (GV*)mg_find(mg->mg_obj, PERL_MAGIC_isa)->mg_obj ); if (stash)