From: Gurusamy Sarathy Date: Mon, 3 Sep 2001 17:07:54 +0000 (+0000) Subject: integrate change#11847 from maint-5.6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ed3c8fc8b527d364fe413456a264da52edc9809;p=p5sagit%2Fp5-mst-13.2.git integrate change#11847 from maint-5.6 typo in perl_clone() code causes local(*foo) breakage in pseudo-fork() p4raw-link: @11847 on //depot/maint-5.6/perl: ce3a5a02281aa23d1d6785a268dc7cc0f211788e p4raw-id: //depot/perl@11848 --- diff --git a/sv.c b/sv.c index 3250d2a..f31855b 100644 --- a/sv.c +++ b/sv.c @@ -9427,7 +9427,7 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, clone_params* param) TOPPTR(nss,ix) = gp = gp_dup(gp, param); (void)GpREFCNT_inc(gp); gv = (GV*)POPPTR(ss,ix); - TOPPTR(nss,ix) = gv_dup_inc(c, param); + TOPPTR(nss,ix) = gv_dup_inc(gv, param); c = (char*)POPPTR(ss,ix); TOPPTR(nss,ix) = pv_dup(c); iv = POPIV(ss,ix);