summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-12-27 17:14:24 +0100
committerhv <hv@crypt.org>2002-12-30 03:08:12 +0000
commitf28098ff87449d3722db2e2f1fbf980414334637 (patch)
tree8c1e079543030264eeb4bc0670c6aeaf13bb2d87 /mg.c
parenta5db57d6e186f7924a69b589e2f061c7ee693deb (diff)
downloadperl-f28098ff87449d3722db2e2f1fbf980414334637.tar.gz
Re: [perl #19330] Uneffective increment of $\
Message-Id: <20021227161424.17234e3c.rgarciasuarez@free.fr> p4raw-id: //depot/perl@18371
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
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);