From f28098ff87449d3722db2e2f1fbf980414334637 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 27 Dec 2002 17:14:24 +0100 Subject: Re: [perl #19330] Uneffective increment of $\ Message-Id: <20021227161424.17234e3c.rgarciasuarez@free.fr> p4raw-id: //depot/perl@18371 --- mg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mg.c') diff --git a/mg.c b/mg.c index ea15875215..408c7debf2 100644 --- a/mg.c +++ b/mg.c @@ -818,7 +818,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) break; case '\\': if (PL_ors_sv) - sv_setpv(sv,SvPVX(PL_ors_sv)); + sv_copypv(sv, PL_ors_sv); break; case '#': sv_setpv(sv,PL_ofmt); -- cgit v1.2.1