emacs-devel
[Top][All Lists]
Advanced

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

Re: broken input mechanism


From: Kim F. Storm
Subject: Re: broken input mechanism
Date: 24 Feb 2004 22:10:50 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Tak Ota <address@hidden> writes:

> The current keyboard.c is broken on W32 platform.  When key input
> accumulates substantially (auto repeating key faster than redisplay)
> Emacs crashes variety of way.  On the latest revision 1.766 it always
> crashes in get_filtered_input_pending where addr holding bogus value
> (mostly 0x04000000, rarely 0x00000000).  Strangely the call stack
> only shows get_filtered_input_pending and get_input_pending but
> nothing before under VC++ debugger.
> 
> Revision must go back to 1.761 to have a good build without this
> problem.

Does the following patch fix this?

Index: w32term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.206
diff -c -r1.206 w32term.c
*** w32term.c   22 Feb 2004 22:41:52 -0000      1.206
--- w32term.c   24 Feb 2004 20:09:24 -0000
***************
*** 4168,4174 ****
  
    /* TODO: tool-bars, ghostscript integration, mouse
       cursors. */
!   while (get_next_msg (&msg, FALSE))
      {
        switch (msg.msg.message)
        {
--- 4168,4174 ----
  
    /* TODO: tool-bars, ghostscript integration, mouse
       cursors. */
!   while (numchars > 0 && get_next_msg (&msg, FALSE))
      {
        switch (msg.msg.message)
        {

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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