diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2017-04-04 16:08:51 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2017-04-04 16:08:51 +0000 |
commit | 5dc41cb0f236d7e4e1c3b8f5e0b487506f550299 (patch) | |
tree | d55d6b127245cdd059b2c193d05076bd715a07c4 /usr.bin/grep/Makefile | |
parent | a5ed8685114196bd2f68145124034ca0956fdca5 (diff) | |
download | src-5dc41cb0f236d7e4e1c3b8f5e0b487506f550299.tar.gz src-5dc41cb0f236d7e4e1c3b8f5e0b487506f550299.zip |
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.)
Submitted by: Kyle Evans <kevans91 at ksu.edu>
Reviewed by: emaste, cem
Differential Revision: https://reviews.freebsd.org/D10269
Notes
Notes:
svn path=/head/; revision=316492
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r-- | usr.bin/grep/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile index c2b03ee7b8f9..7c676591f83b 100644 --- a/usr.bin/grep/Makefile +++ b/usr.bin/grep/Makefile @@ -17,7 +17,7 @@ SRCS= file.c grep.c queue.c util.c # Extra files ported backported form some regex improvements .PATH: ${.CURDIR}/regex -SRCS+= fastmatch.c hashtable.c tre-compile.c tre-fastmatch.c xmalloc.c +SRCS+= fastmatch.c hashtable.c tre-compile.c tre-fastmatch.c CFLAGS+=-I${.CURDIR}/regex CFLAGS.gcc+= --param max-inline-insns-single=500 |