freebsd-dev/usr.bin/grep
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
..
nls bsdgrep: correct nls usage data after r317049 2017-05-02 13:47:15 +00:00
regex bsdgrep: fix escape map building for multibyte strings 2017-05-02 20:44:06 +00:00
tests bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
file.c bsdgrep: add -z/--null-data support 2017-04-17 13:14:18 +00:00
grep.1 bsdgrep: add -z/--null-data support 2017-04-17 13:14:18 +00:00
grep.c bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
grep.h bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
Makefile bsdgrep: Add GNU compatible version string indicator 2017-05-02 13:38:20 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
queue.c bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00
util.c bsdgrep: fix -w flag matching with an empty pattern 2017-05-02 20:39:33 +00:00