diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-11-15 10:15:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-11-15 10:15:22 +0000 |
commit | 59b714e260d430f6d20c1573b9cd0f5fe0955ad8 (patch) | |
tree | 68c0ba60c8d7e17df6ba5568c70c035d8dfafa47 /dump.c | |
parent | 89d1f0ef1b6c19fa0e51e21c93cfffe86aeb375c (diff) | |
download | perl-59b714e260d430f6d20c1573b9cd0f5fe0955ad8.tar.gz |
Add a dump to help tracing taint bugs, by Chip Salzenberg
p4raw-id: //depot/perl@34837
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -532,6 +532,8 @@ Perl_sv_peek(pTHX_ SV *sv) finish: while (unref--) sv_catpv(t, ")"); + if (PL_tainting && SvTAINTED(sv)) + sv_catpv(t, " [tainted]"); return SvPV_nolen(t); } |