summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-21 10:58:22 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-21 10:58:22 +0000
commit69c678eb3bbbed7a7896fd9a2e52b0bbb93d4c3e (patch)
treef24ca2fbd63c3a51fedfda0a15ebc961678ab6e5 /dump.c
parent25c09cbfff59747c663fe98ca4036df86a317a59 (diff)
downloadperl-69c678eb3bbbed7a7896fd9a2e52b0bbb93d4c3e.tar.gz
weak references aren't UVs, do don't show this in the dump flags.
p4raw-id: //depot/perl@24921
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index ddeacf4da3..e047d34189 100644
--- a/dump.c
+++ b/dump.c
@@ -1190,7 +1190,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
/* FALL THROUGH */
default:
if (SvEVALED(sv)) sv_catpv(d, "EVALED,");
- if (SvIsUV(sv)) sv_catpv(d, "IsUV,");
+ if (SvIsUV(sv) && !(flags & SVf_ROK)) sv_catpv(d, "IsUV,");
break;
case SVt_PVBM:
if (SvTAIL(sv)) sv_catpv(d, "TAIL,");