freebsd-dev/usr.bin/grep/regex
Ed Maste 41e04e8c77 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.

Submitted by:	Kyle Evans <kevans91 at ksu.edu>
Reviewed by:	cem, Kyle Evans (my style changes)
Differential Revision:	https://reviews.freebsd.org/D10098
2017-05-02 20:44:06 +00:00
..
fastmatch.c bsdgrep(1): Rip out "xmalloc" bits 2017-04-04 16:08:51 +00:00
fastmatch.h
glue.h Fix a bug in bsdgrep that caused the program to hang in a tight loop for 2016-03-13 14:53:12 +00:00
hashtable.c
hashtable.h
tre-compile.c bsdgrep(1): Rip out "xmalloc" bits 2017-04-04 16:08:51 +00:00
tre-fastmatch.c bsdgrep: fix escape map building for multibyte strings 2017-05-02 20:44:06 +00:00
tre-fastmatch.h