summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorAdrian M. Enache <enache@rdslink.ro>2003-02-23 22:16:39 +0200
committerhv <hv@crypt.org>2003-02-26 01:36:49 +0000
commitfaf82a0b75a45f1e4dbb7ad8cecdfaf9a30a643d (patch)
tree45806f716e73d5c78d51d8ebfa55b86f394c9f0a /sv.c
parentbd5cf8491554ab1313db72afbf9e7bc1debe967c (diff)
downloadperl-faf82a0b75a45f1e4dbb7ad8cecdfaf9a30a643d.tar.gz
Re: [perl #20683] [fix] Better Patch
Message-ID: <20030223181639.GA18713@ratsnest.hole> p4raw-id: //depot/perl@18782
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index b132a1e6f3..d9d0e6fab4 100644
--- a/sv.c
+++ b/sv.c
@@ -2966,7 +2966,7 @@ Perl_sv_2pv_flags(pTHX_ register SV *sv, STRLEN *lp, I32 flags)
case SVt_PVMG:
if ( ((SvFLAGS(sv) &
(SVs_OBJECT|SVf_OK|SVs_GMG|SVs_SMG|SVs_RMG))
- == (SVs_OBJECT|SVs_RMG))
+ == (SVs_OBJECT|SVs_SMG))
&& (mg = mg_find(sv, PERL_MAGIC_qr))) {
regexp *re = (regexp *)mg->mg_obj;