This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSlice problem with emacs Gtk+ build


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]