]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r316492: bsdgrep(1): Rip out "xmalloc" bits
authorkevans <kevans@FreeBSD.org>
Wed, 16 Aug 2017 00:23:59 +0000 (00:23 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 16 Aug 2017 00:23:59 +0000 (00:23 +0000)
commitf54486657a1c112080e7cb3e23c6e41109ddc8b4
tree1c8aafe99c2d73613ad031169c310f18fc156d9f
parent21446ad6912892494d8d5fa910a5681c041f97ae
MFC r316492: bsdgrep(1): Rip out "xmalloc" bits

xmalloc was a debug malloc implementation, but the x{malloc,calloc,free}
functions default to calling the malloc(3) equivalents.

Instead of relying on this malloc shim, we can devise better ways to debug
malloc issues that aren't misleading upon initial inspection.  (I.e., using
jemalloc's various built-in debugging capabilities.)

Approved by: emaste (mentor, blanket MFC)
usr.bin/grep/Makefile
usr.bin/grep/regex/fastmatch.c
usr.bin/grep/regex/tre-compile.c
usr.bin/grep/regex/tre-fastmatch.c
usr.bin/grep/regex/xmalloc.c [deleted file]
usr.bin/grep/regex/xmalloc.h [deleted file]