]> git.eshelyaron.com Git - emacs.git/commitdiff
* PROBLEMS (http): Add workaround for Cygwin crash.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 20 Nov 2009 21:40:00 +0000 (21:40 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 20 Nov 2009 21:40:00 +0000 (21:40 +0000)
etc/ChangeLog
etc/PROBLEMS

index 0b134576973661bb0503db865f8225299436c940..3811063d5d80ca9135ed80586a28ef9e1b035e28 100644 (file)
@@ -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).
index eb1e362cc71e0a99e7633c8bdd94ece8c6d54625..acc5ff996a1043ee2d12ac2fc6b2a64fa345916c 100644 (file)
@@ -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