diff options
author | Hugo van der Sanden <hv@crypt.org> | 2001-09-09 19:41:54 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-15 12:33:49 +0000 |
commit | 8bfdd7d95bcb290ba639e2c88c5d4370ab8fcfc0 (patch) | |
tree | 73ff47381401919d6d90daccf674fc93918f21a7 /mg.c | |
parent | c366adb4d8e96138e96920f4a327296016a696e0 (diff) | |
download | perl-8bfdd7d95bcb290ba639e2c88c5d4370ab8fcfc0.tar.gz |
Re: [ID 20010815.012] Unfortunate interaction between -0 cmd line arg & (??{CODE}) regex
Message-Id: <200109091741.f89HfsM18534@crypt.compulink.co.uk>
p4raw-id: //depot/perl@12027
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1911,10 +1911,8 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg) PL_multiline = (i != 0); break; case '/': - SvREFCNT_dec(PL_nrs); - PL_nrs = newSVsv(sv); SvREFCNT_dec(PL_rs); - PL_rs = SvREFCNT_inc(PL_nrs); + PL_rs = newSVsv(sv); break; case '\\': if (PL_ors_sv) |