]> 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, 4 Aug 2020 02:47:24 +0000 (02:47 +0000)
commitcab7d341dcd98138443bbdb51649f966093a3a84
tree708d2e8c9dfc2cc1fbef137eff4e544a9de30b85
parent1546dc216f090ce326f5bbdff1211f3661643bfc
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.
usr.bin/grep/Makefile
usr.bin/grep/grep.c