bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14569: 24.3.50; bootstrap fails on Cygwin


From: Ken Brown
Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin
Date: Mon, 01 Jul 2013 14:40:55 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

I found the bug. It's that malloc_enable_thread doesn't get called in batch mode, because of the following in emacs.c:

#if defined (HAVE_PTHREAD) && !defined (SYSTEM_MALLOC) && !defined (DOUG_LEA_MALLOC)
  if (! noninteractive)
    {
      extern void malloc_enable_thread (void);

      malloc_enable_thread ();
    }
#endif

Removing " if (! noninteractive)" solves the problem. Will it break something else? I have no idea why malloc_enable_thread was only being called in the interactive case.

Ken





reply via email to

[Prev in Thread] Current Thread [Next in Thread]