projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8dff2
)
fix bug in TRE found by clang (typo && instead of &)
author
Rich Felker
<dalias@aerifal.cx>
Fri, 8 Apr 2011 03:13:47 +0000
(23:13 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 8 Apr 2011 03:13:47 +0000
(23:13 -0400)
src/regex/regexec.c
patch
|
blob
|
history
diff --git
a/src/regex/regexec.c
b/src/regex/regexec.c
index 0c3d2834020d0f59d140030f16345b4010419c30..f7aef506ff27d5414b0acbd406fa5a5b2e41f384 100644
(file)
--- a/
src/regex/regexec.c
+++ b/
src/regex/regexec.c
@@
-917,7
+917,7
@@
tre_tnfa_run_backtrack(const tre_tnfa_t *tnfa, const void *string,
if (stack->prev)
{
DPRINT((" backtracking\n"));
- if (stack->item.state->assertions &
&
ASSERT_BACKREF)
+ if (stack->item.state->assertions & ASSERT_BACKREF)
{
DPRINT((" states_seen[%d] = 0\n",
stack->item.state_id));