]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Mon, 16 Feb 2004 23:11:58 +0000 (23:11 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 16 Feb 2004 23:11:58 +0000 (23:11 +0000)
src/ChangeLog

index c52a1c92b648e27b81755d43ebce225cc3ab88e9..865b4912c9782519cb88299411b161c9a9fd5d8b 100644 (file)
@@ -1,3 +1,17 @@
+2004-02-17  Kim F. Storm  <storm@cua.dk>
+
+       * keyboard.c: Rework previous change; it didn't consider that the
+       buf array was allocated on the stack.
+       (prev_read): Remove variable.
+       (read_avail_input_buf): New static event buffer array.
+       (in_read_avail_input): New static variable to avoid re-entrancy.
+       (read_avail_input): Change buf to pinter to read_avail_input_buf.
+       Use in_read_avail_input to guard against re-entry.
+       Do not initialize read_avail_input_buf here; instead assume it
+       is always cleared on entry.  To ensure that, we clear (just) the
+       entries that were used before we return.
+       (init_keyboard): Initialize read_avail_input_buf here.
+
 2004-02-16  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
 
        * cmds.c (Fend_of_line): Doc fix.