diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-06 12:23:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-06 12:23:15 +0000 |
commit | f3a2811a943652950bfdb6408b09c32b4bf531d0 (patch) | |
tree | 4c1a0f267bae872b1fa8b30e7bf0e230bfbfef3b /dump.c | |
parent | 550e2ce03d201c2e16d6755c5e8b7feb3b2afe06 (diff) | |
download | perl-f3a2811a943652950bfdb6408b09c32b4bf531d0.tar.gz |
Avoid using *pvf functions when the format string is a fixed string.
p4raw-id: //depot/perl@32043
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2234,16 +2234,16 @@ Perl_sv_catxmlpvn(pTHX_ SV *dsv, const char *pv, STRLEN len, int utf8) Perl_sv_catpvf(aTHX_ dsv, "STUPIDXML(#x%X)", c); break; case '<': - Perl_sv_catpvf(aTHX_ dsv, "<"); + sv_catpvs(dsv, "<"); break; case '>': - Perl_sv_catpvf(aTHX_ dsv, ">"); + sv_catpvs(dsv, ">"); break; case '&': - Perl_sv_catpvf(aTHX_ dsv, "&"); + sv_catpvs(dsv, "&"); break; case '"': - Perl_sv_catpvf(aTHX_ dsv, """); + sv_catpvf(dsv, """); break; default: if (c < 0xD800) { |