In XS_attributes__guess_stash, attempting to call Gv* on a PVMG is
authorNicholas Clark <nick@ccl4.org>
Thu, 23 Feb 2006 17:45:55 +0000 (17:45 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 23 Feb 2006 17:45:55 +0000 (17:45 +0000)
bad and wrong.

p4raw-id: //depot/perl@27288

xsutils.c

index 59a249616b59051c29e43ac7e283c85f77950441..94d765243cd620a615ccb29fc6ccf7ab2535d8c5 100644 (file)
--- a/xsutils.c
+++ b/xsutils.c
@@ -278,10 +278,6 @@ usage:
            else if (/* !CvANON(sv) && */ CvSTASH(sv))
                stash = CvSTASH(sv);
            break;
-       case SVt_PVMG:
-           if (!(SvFAKE(sv) && SvTIED_mg(sv, PERL_MAGIC_glob)))
-               break;
-           /*FALLTHROUGH*/
        case SVt_PVGV:
            if (GvGP(sv) && GvESTASH((GV*)sv))
                stash = GvESTASH((GV*)sv);