emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch for macterm.c


From: Jose E. Marchesi
Subject: patch for macterm.c
Date: Wed, 27 Jun 2007 11:55:24 +0200

Hi.

I am the gv maintainer.

Someone (anonymous) inserted the following patch in the gv savannah
project. I dont know why :)

Friday 03/09/2007 at 08:37, original submission:

Carbon Emacs built with current CVS crash if I use MacUIM as a input
method component. This is because MacUIM try to get
kEventTextInputOffsetToPos information at the startup, but Emacs
haven't yet created echo area window at the time and this causes crash
in f = WINDOW_XFRAME (w) with w with NULL.

--- macterm.c.orig      2007-02-13 17:28:39.000000000 +0900
+++ macterm.c   2007-03-09 17:21:29.000000000 +0900
@@ -10198,6 +10198,8 @@
          {
            /* Active input area is displayed in the echo area.  */
            w = XWINDOW (echo_area_window);
+           if (!w)
+             return eventNotHandledErr;
            f = WINDOW_XFRAME (w);
          }
        else


--
Jose E. Marchesi <address@hidden>
                 <address@hidden>

GNU Project      http://www.gnu.org
GNU Spain        http://es.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]