summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-20 00:33:43 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-20 00:33:43 +0000
commit781449de0eec49aa3d5ffc738eb3d41f44325f75 (patch)
treee7431078b701370b1e9782d6ac31a6832a36b56c /pp_ctl.c
parent66aa112777772c23def2489c956f8681aeef1be1 (diff)
downloadperl-781449de0eec49aa3d5ffc738eb3d41f44325f75.tar.gz
fix C<$1 .. $2> coredump under debugger
p4raw-id: //depot/perl@1574
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index c78187092e..5a4dcf4a4e 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -856,6 +856,7 @@ PP(pp_flop)
char *tmps = SvPV(final, len);
sv = sv_mortalcopy(left);
+ SvPV_force(sv,na);
while (!SvNIOKp(sv) && SvCUR(sv) <= len) {
XPUSHs(sv);
if (strEQ(SvPVX(sv),tmps))