summaryrefslogtreecommitdiff
path: root/src/kwset.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-04-26 18:01:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-04-26 18:02:18 -0700
commitd3d99505cb704563cedf4643301d54ecc717ae57 (patch)
treeb9e4b4e3f294c83cd0540933f5c6082dfa1bee91 /src/kwset.c
parent3255bc58e8fb2d98145dbb2dd17bae0a5e47a85e (diff)
downloadgrep-d3d99505cb704563cedf4643301d54ecc717ae57.tar.gz
dfa: fix index bug in previous patch, and simplify
* src/dfa.c, src/dfa.h (dfaisfast): Arg is const pointer. * src/dfa.c (dfaisfast): Simplify, since supersets never contain BACKREF. * src/dfa.h (dfaisfast): Declare to be pure. * src/dfasearch.c (EGexecute): Fix typo that could cause buffer read overrun when !dfafast. Hoist duplicate computation out of an if's then and else parts.
Diffstat (limited to 'src/kwset.c')
0 files changed, 0 insertions, 0 deletions