]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bsdgrep: switch to libregex for GNU_GREP_COMPAT
authorKyle Evans <kevans@FreeBSD.org>
Tue, 4 Aug 2020 02:47:24 +0000 (02:47 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Tue, 29 Dec 2020 15:49:42 +0000 (09:49 -0600)
commitcadd3b8fcb416b8474b91f237671b49bc7b834e6
tree448f6e14565ba4a7c880ce24a83075473db788dd
parent3dc739019319c8dae539affe6294c30caed89321
bsdgrep: switch to libregex for GNU_GREP_COMPAT

libregex is incomplete, but it's a bit less buggy than the in-base
libgnuregex and mostly OK.

While here, rename -DIWTH_GNU -> -DWITH_GNU_COMPAT; the option implies
that we're compatible with the GNU counterpart, not that we're including GNU
anything.

(cherry picked from commit cab7d341dcd98138443bbdb51649f966093a3a84)
usr.bin/grep/Makefile
usr.bin/grep/grep.c