summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doop.c b/doop.c
index ffa1d1bbac..ea64ff8fb4 100644
--- a/doop.c
+++ b/doop.c
@@ -669,7 +669,7 @@ Perl_do_join(pTHX_ register SV *sv, SV *del, register SV **mark, register SV **s
++mark;
}
- sv_setpv(sv, "");
+ sv_setpvn(sv, "", 0);
/* sv_setpv retains old UTF8ness [perl #24846] */
if (SvUTF8(sv))
SvUTF8_off(sv);