summaryrefslogtreecommitdiff
path: root/games/pom/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-25 21:36:01 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-25 21:36:01 +0000
commit87fcaaa7c3c1c0c0dd898f12de2d379baafb0ed1 (patch)
treec73dc31f440b3c08e0564898d8c004b236de23a8 /games/pom/Makefile
parent6451aa97207663c0fae475e74fed893c6d313f45 (diff)
Previously, in -w mode, for each match on a line grep would check
to see if the match was on a word boundary. However, this missed lines where the first match was not on a word boundary but a subsequent match was. Problem originally spotted by miod@ We fix this by using the [[:<:]] and [[:>:]] character classes for the slow path and by checking the word boundaries in grep_search() for the fast path instead of doing the checks after running regexec() or grep_search(). With this change, grep passes the new regress tests 15 and 16. problem originally spotted by espie@.
Diffstat (limited to 'games/pom/Makefile')
0 files changed, 0 insertions, 0 deletions