diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-24 17:39:00 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-24 17:39:00 +0000 |
commit | 92d29cee5ff815b05b81b877528e4c77e73881c9 (patch) | |
tree | 1887469b52eec03299be2ab643c8a5310d73622e /doop.c | |
parent | 85e0ebd8793b17cfbac766abc03b5fff57b2b2cd (diff) | |
download | perl-92d29cee5ff815b05b81b877528e4c77e73881c9.tar.gz |
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@5937
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -660,12 +660,9 @@ Perl_do_join(pTHX_ register SV *sv, SV *del, register SV **mark, register SV **s if (items-- > 0) { char *s; - if (*mark) { - s = SvPV(*mark, tmplen); - sv_setpvn(sv, s, tmplen); - } - else - sv_setpv(sv, ""); + sv_setpv(sv, ""); + if (*mark) + sv_catsv(sv, *mark); mark++; } else |