]> git.eshelyaron.com Git - emacs.git/commit
Use hybrid malloc for FreeBSD (Bug#28308)
authorNoam Postavsky <npostavs@users.sourceforge.net>
Tue, 31 Oct 2017 17:31:46 +0000 (13:31 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 4 Nov 2017 22:49:28 +0000 (18:49 -0400)
commit918a2dda07ebf16601a93d0464f62c4e846d8b39
treef98b930dcbcfb83608c38d949254dabaeeddaec9
parent725ab635d9c4c0ecbd4b28df16d2b97337bbe989
Use hybrid malloc for FreeBSD (Bug#28308)

FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when
using system malloc dumping does not work correctly (allocated data is
invalid after dumping).
* configure.ac: Set hybrid_malloc for freebsd.
* src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk.
configure.ac
src/gmalloc.c