diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-26 18:01:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-04-26 18:02:18 -0700 |
commit | d3d99505cb704563cedf4643301d54ecc717ae57 (patch) | |
tree | b9e4b4e3f294c83cd0540933f5c6082dfa1bee91 /src/kwset.c | |
parent | 3255bc58e8fb2d98145dbb2dd17bae0a5e47a85e (diff) | |
download | grep-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