diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-04-19 01:38:54 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-04-19 01:38:54 +0000 |
commit | 9660f4819671f0b9100e5eabfa988ead3e799a1e (patch) | |
tree | fea5c381d1d486729366e8521bc4a822b90b0c09 /dump.c | |
parent | 379d1ffd1cdc48dce48686458f3153f5dd29f323 (diff) | |
download | perl-9660f4819671f0b9100e5eabfa988ead3e799a1e.tar.gz |
Add CLONE_SKIP() class method to allow individual classes to skip
cloning objects during thread creation
p4raw-id: //depot/perl@24247
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1136,7 +1136,8 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo if (flags & SVp_IOK) sv_catpv(d, "pIOK,"); if (flags & SVp_NOK) sv_catpv(d, "pNOK,"); if (flags & SVp_POK) sv_catpv(d, "pPOK,"); - if (flags & SVp_SCREAM) sv_catpv(d, "SCREAM,"); + if (flags & SVp_SCREAM && type != SVt_PVHV) + sv_catpv(d, "SCREAM,"); switch (type) { case SVt_PVCV: @@ -1159,6 +1160,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo if (HvLAZYDEL(sv)) sv_catpv(d, "LAZYDEL,"); if (HvHASKFLAGS(sv)) sv_catpv(d, "HASKFLAGS,"); if (HvREHASH(sv)) sv_catpv(d, "REHASH,"); + if (flags & SVphv_CLONEABLE) sv_catpv(d, "CLONEABLE,"); break; case SVt_PVGV: case SVt_PVLV: if (GvINTRO(sv)) sv_catpv(d, "INTRO,"); |