summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-11-23 19:29:57 +0000
committerNicholas Clark <nick@ccl4.org>2006-11-23 19:29:57 +0000
commitfcddd32efab0f0f60189d0d1c0b1d6cb7d2d9d2a (patch)
treef1d9ca49c28d60183986f5772548e0af34c92045 /sv.c
parent85324b4d0dbc2aa57740cf155e05f167f729f570 (diff)
downloadperl-fcddd32efab0f0f60189d0d1c0b1d6cb7d2d9d2a.tar.gz
Change 29364 forgot to turn the POK flag on.
p4raw-id: //depot/perl@29365
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 b29d2ec8a2..c7de314bad 100644
--- a/sv.c
+++ b/sv.c
@@ -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);
}