diff etc/PROBLEMS @ 106173:143bc3eab4f0

* PROBLEMS (http): Add workaround for Cygwin crash.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 20 Nov 2009 21:40:00 +0000
parents f665043359a7
children d4ca58110155
line wrap: on
line diff
--- a/etc/PROBLEMS	Fri Nov 20 21:12:54 2009 +0000
+++ b/etc/PROBLEMS	Fri Nov 20 21:40:00 2009 +0000
@@ -252,8 +252,19 @@
 
 Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on
 Cygwin, that becomes the Cygwin supplied memalign.  As malloc is not the
-Cygwin malloc, the Cygwin memalign always returns ENOSYS.  A fix for this
-problem would be welcome.
+Cygwin malloc, the Cygwin memalign always returns ENOSYS.
+
+One workaround is to set G_SLICE=always-malloc before starting emacs.
+For example, in bash,
+
+  G_SLICE=always-malloc emacs
+
+or put
+
+  export G_SLICE=always-malloc
+
+in one of the bash startup files.  This also has to be done before
+building emacs on Cygwin with Gtk+.
 
 * General runtime problems