summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>2002-01-08 15:12:29 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-08 15:12:38 +0000
commit5b71a6a7d9a57910f8176799ca3a0c2e2cc65133 (patch)
tree8617684f59c594cccbee983e007ab31c1f58dcf3 /op.c
parent9cd90f7bf71369f3b9527136c154bd38b3d6b49e (diff)
downloadperl-5b71a6a7d9a57910f8176799ca3a0c2e2cc65133.tar.gz
Not OK 13843
Message-ID: <m38zb9c7gi.fsf@anima.de> p4raw-id: //depot/perl@14135
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/op.c b/op.c
index 509569ed30..e4f84fa239 100644
--- a/op.c
+++ b/op.c
@@ -3131,7 +3131,7 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl)
p = SvPV(pat, plen);
pm->op_pmflags |= PMf_SKIPWHITE;
}
- if (DO_UTF8(pat) || (PL_hints & HINT_UTF8))
+ if (DO_UTF8(pat))
pm->op_pmdynflags |= PMdf_UTF8;
PM_SETRE(pm, CALLREGCOMP(aTHX_ p, p + plen, pm));
if (strEQ("\\s+", PM_GETRE(pm)->precomp))
@@ -3139,8 +3139,6 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl)
op_free(expr);
}
else {
- if (PL_hints & HINT_UTF8)
- pm->op_pmdynflags |= PMdf_UTF8;
if (pm->op_pmflags & PMf_KEEP || !(PL_hints & HINT_RE_EVAL))
expr = newUNOP((!(PL_hints & HINT_RE_EVAL)
? OP_REGCRESET