summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-11-20 21:40:00 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-11-20 21:40:00 +0000
commitabbdc6a07b34911e98d2877f545a33b77fd0df6d (patch)
treec5997d6f397327877418cf3ad0bb3eee654cb6b5
parent6aeaa3dcde4b682244b26b2f1443d9810bd1a3c9 (diff)
downloademacs-abbdc6a07b34911e98d2877f545a33b77fd0df6d.tar.gz
* PROBLEMS (http): Add workaround for Cygwin crash.
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/PROBLEMS15
2 files changed, 17 insertions, 2 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 0b134576973..3811063d5d8 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
+
+ * PROBLEMS (http): Add workaround for Cygwin crash.
+
2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
* NEWS: Mention dynamic font changes (font-use-system-font).
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index eb1e362cc71..acc5ff996a1 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -252,8 +252,19 @@ A typical error message is
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