Let sv_dump understand GvSHARED
Benjamin Sugars [Thu, 3 May 2001 16:51:07 +0000 (12:51 -0400)]
Message-ID: <Pine.LNX.4.21.0105031645280.805-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@9982

dump.c

diff --git a/dump.c b/dump.c
index 9d2595f..03d731d 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -838,6 +838,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
     case SVt_PVGV:
        if (GvINTRO(sv))        sv_catpv(d, "INTRO,");
        if (GvMULTI(sv))        sv_catpv(d, "MULTI,");
+       if (GvSHARED(sv))       sv_catpv(d, "SHARED,");
        if (GvASSUMECV(sv))     sv_catpv(d, "ASSUMECV,");
        if (GvIN_PAD(sv))       sv_catpv(d, "IN_PAD,");
        if (GvIMPORTED(sv)) {