summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-07-01 23:49:32 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-07-04 05:20:52 +0000
commit411d5715b3cb26f927bf38fdb0914c2fef9fb906 (patch)
tree469e9ebc21cd9c68cbf97e2d589cf0d6448a852a /pp_hot.c
parentf5b3b617eb55282fb17cc7521936a9150dc99cb3 (diff)
downloadperl-411d5715b3cb26f927bf38fdb0914c2fef9fb906.tar.gz
allow a flags args to fbm_instr() for future needs
Message-Id: <199807020749.DAA12379@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_68] mORE FBM_ CHANGES FOR FUTURE p4raw-id: //depot/perl@1297
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index b81ec56423..7234f15fdd 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -872,7 +872,7 @@ play_it_again:
}
else if (!(s = fbm_instr((unsigned char*)s + rx->check_offset_min,
(unsigned char*)strend,
- rx->check_substr)))
+ rx->check_substr, 0)))
goto nope;
else if ((rx->reganch & ROPT_CHECK_ALL) && !sawampersand)
goto yup;
@@ -1562,7 +1562,7 @@ PP(pp_subst)
}
else if (!(s = fbm_instr((unsigned char*)s + rx->check_offset_min,
(unsigned char*)strend,
- rx->check_substr)))
+ rx->check_substr, 0)))
goto nope;
if (s && rx->check_offset_max < s - m) {
++BmUSEFUL(rx->check_substr);