summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkevans <kevans@FreeBSD.org>2017-08-16 17:54:29 +0000
committerkevans <kevans@FreeBSD.org>2017-08-16 17:54:29 +0000
commit92a8bccf2c045e3ea968001d1d04cdef97cb6182 (patch)
tree368f82b374193718272e37930f55d800226d2f64 /tools
parenta9c64fb0c4238782ade2a056e2ccd01a84fb3092 (diff)
downloadFreeBSD-src-92a8bccf2c045e3ea968001d1d04cdef97cb6182.zip
FreeBSD-src-92a8bccf2c045e3ea968001d1d04cdef97cb6182.tar.gz
bsdgrep: fix escape map building when using TRE (BSD_GREP_FASTMATCH)
MFC r317700: bsdgrep: use calloc where appropriate in grep's tre-fastmatch Also apply style(9) to a related NULL check. MFC r317701: bsdgrep: correct test sense from r317700 Kyle's change in review D10098 was correct. I introduced the error when extracting a portion of that change. MFC r317704: bsdgrep: fix escape map building for multibyte strings In BSD grep, fix escape map building in the regex parser. It was previously using memory not explicitly initialized, and the MBS escape map was being built based on a version of the pattern with escapes already parsed out. This is Kyle's change, but I restored the broken style that already exists in this file. Approved by: emaste (mentor, blanket MFC)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud