summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-02 21:37:29 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-02 21:37:29 +0000
commit69b47968fa00dfccb6aab68633e778fed2de80ea (patch)
tree172ea60712feb722b7efb33f51e593a9975d3918 /sv.c
parent6f7d0078e68bc6a1f2a59d66e229fb67ce3fbb40 (diff)
downloadperl-69b47968fa00dfccb6aab68633e778fed2de80ea.tar.gz
disable optimization in change#3612 for join() and quotemeta()--this
removes all the gross hacks for the special cases in that change; fix pp_concat() for when TARG == arg (modified version of patch suggested by Ilya Zakharevich) p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4749
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index d52003a5a3..ca25b063ba 100644
--- a/sv.c
+++ b/sv.c
@@ -3210,6 +3210,7 @@ Perl_sv_insert(pTHX_ SV *bigstr, STRLEN offset, STRLEN len, char *little, STRLEN
SvCUR_set(bigstr, offset+len);
}
+ SvTAINT(bigstr);
i = littlelen - len;
if (i > 0) { /* string might grow */
big = SvGROW(bigstr, SvCUR(bigstr) + i + 1);