]> git.eshelyaron.com Git - emacs.git/commit
Remove --enable-checking=xmallocoverrun
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 04:47:10 +0000 (21:47 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Apr 2019 06:16:48 +0000 (23:16 -0700)
commit1ea048f6e02e56891278a040a5b21678c661764a
tree07121fd5272f4bba48d96f22a3f65396c0071c01
parent72067661fef9cb9e1a746a7a825053c8204c7a38
Remove --enable-checking=xmallocoverrun

It doesn’t work anymore, and these days ‘gcc -fsanitize=address’
does a better job anyway.
* configure.ac: Remove the option.
* configure.ac (ac_xmalloc_overrun, XMALLOC_OVERRUN_CHECK):
* src/alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD)
(XMALLOC_OVERRUN_CHECK_SIZE, XMALLOC_OVERRUN_SIZE_SIZE)
(xmalloc_overrun_check_header, xmalloc_overrun_check_trailer)
(xmalloc_put_size, xmalloc_get_size, overrun_check_malloc)
(overrun_check_realloc, overrun_check_free):
Remove.  All uses removed.
* etc/NEWS: Mention this.
configure.ac
etc/NEWS
src/alloc.c