diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2014-06-09 18:53:36 +0100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-06-12 14:27:20 +1000 |
commit | 46e2868e06e3a90816b9788baa0ef60e02976ea2 (patch) | |
tree | 419e6fc102dffa385812de9ada1a5e049db06abc /pp_ctl.c | |
parent | 4662a05932175fe185d382b9b1b730e2b5cfad25 (diff) | |
download | perl-46e2868e06e3a90816b9788baa0ef60e02976ea2.tar.gz |
Change sv_catpvn(…, "…", …) to sv_catpvs(…, "…")
The dual-life dist affected uses Devel::PPPort, so can safely use
sv_catpvs() even though it wasn't added until Perl v5.8.9.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3649,7 +3649,7 @@ S_doopen_pm(pTHX_ SV *name) Stat_t pmcstat; SvSetSV_nosteal(pmcsv,name); - sv_catpvn(pmcsv, "c", 1); + sv_catpvs(pmcsv, "c"); if (PerlLIO_stat(SvPV_nolen_const(pmcsv), &pmcstat) >= 0) return check_type_and_open(pmcsv); @@ -4078,7 +4078,7 @@ PP(pp_require) sv_catpv(msg, " (you may need to install the "); for (c = name; c < e; c++) { if (*c == '/') { - sv_catpvn(msg, "::", 2); + sv_catpvs(msg, "::"); } else { sv_catpvn(msg, c, 1); |