Ken Brown wrote:
Yes. The fix was to add the following for the Cygwin build, very early in 
main():


Indeed.. I have verified that G_SLICE_ALWAYS_MALLOC is 1 in config.h so that in emacs.c

#ifdef G_SLICE_ALWAYS_MALLOC
  /* This is used by the Cygwin build.  */
  xputenv ("G_SLICE=always-malloc");
#endif

defines rightly G_SLICE...


  setenv ("G_SLICE", "always-malloc", 1);

I don't know why this no longer works. Maybe Glib now does its memory 
management initialization before emacs's main() is entered.

...evidently, this is not sufficient, too late: Emacs has already aborted

Probably, the problem is elsewhere...

Ciao,
Angelo.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to