Mercurial > emacs
changeset 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 | f1323114a032 |
children | 542223b15e9b |
files | etc/ChangeLog etc/PROBLEMS |
diffstat | 2 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/ChangeLog Fri Nov 20 21:12:54 2009 +0000 +++ b/etc/ChangeLog Fri Nov 20 21:40:00 2009 +0000 @@ -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).
--- 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