summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-07 22:08:48 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-07 22:08:48 +0000
commitee027f1d663256f1223632e02ff1c8835809ce91 (patch)
tree5ac9a74dfae91fbe5e0f523acaa2bbbeb0ddd19f /pp_hot.c
parent4b154ab5f602806ac0f12a58e6d35daf8689fea5 (diff)
downloadperl-ee027f1d663256f1223632e02ff1c8835809ce91.tar.gz
fix accidental RE-de-optimization
From: larry@wall.org (Larry Wall) Date: Mon, 6 Jul 1998 17:49:31 -0700 Message-Id: <199807070049.RAA23475@wall.org> Subject: Re: before you deluge us with patches -- From: Ilya Zakharevich <ilya@math.ohio-state.edu> Date: Tue, 7 Jul 1998 03:10:56 -0400 (EDT) Message-Id: <199807070710.DAA25399@monk.mps.ohio-state.edu> Subject: Re: before you deluge us with patches p4raw-id: //depot/perl@1359
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index d825e64eb8..b52563a38f 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -881,7 +881,7 @@ play_it_again:
goto nope;
else if ((rx->reganch & ROPT_CHECK_ALL) && !sawampersand)
goto yup;
- if (s && rx->check_offset_max < t - s) {
+ if (s && rx->check_offset_max < s - t) {
++BmUSEFUL(rx->check_substr);
s -= rx->check_offset_max;
}