GSlice problem with emacs Gtk+ build

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon Dec 7 19:13:00 GMT 2009


On 07/12/2009 10:06, Ken Brown wrote:
> There's a known workaround, which is to set G_SLICE=always-malloc before
> starting emacs. As emacs maintainer, I've been reluctant to provide the
> Gtk+ version of emacs, because I don't want to answer hundreds of emails
> telling people about the workaround. I could supply a wrapper script
> that sets G_SLICE, but I'm still afraid that would cause a lot of
> confusion; I suspect many people are in the habit of calling
> emacs-X11.exe directly. I have therefore configured the emacs-X11
> package to use Xaw instead of Gtk+. But Gtk+ is really much nicer, and I
> would like to be able to provide an emacs-X11 that uses it.

What about adding to the beginning of main():

#ifdef __CYGWIN__
     setenv("G_SLICE", "always-malloc", 1);
#endif


Yaakov
Cygwin/X

--
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/



More information about the Cygwin-xfree mailing list