Try to fix FreeBSD bug re multithreaded memory allocation.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jul 2013 00:53:13 +0000 (17:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jul 2013 00:53:13 +0000 (17:53 -0700)
commit1ce5cd04df32ebdd269709de23feb5493458173c
tree117e485e8235500d1571d64822f87e851c926eb7
parent96673afeb28274a4495c35e49435ad25e3005a48
Try to fix FreeBSD bug re multithreaded memory allocation.

* src/emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Clear _malloc_thread_enabled_p at startup.  Reported by Ashish SHUKLA in
<http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00088.html>.

Fixes: debbugs:14569
src/ChangeLog
src/emacs.c