diff options
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3489,6 +3489,7 @@ Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV *sstr, I32 flags) SvGROW(dstr, len + 1); Copy(ptr, SvPVX(dstr), len + 1, char); SvCUR_set(dstr, len); + SvPOK_only(dstr); } else { SvOK_off(dstr); } |