comparison src/ChangeLog @ 54028:77c2c4eceb79

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Tue, 17 Feb 2004 00:28:22 +0000
parents 8fa7ff960e1c
children 668c0f8ab92b
comparison
equal deleted inserted replaced
54027:32c7f0e32819 54028:77c2c4eceb79
2 2
3 * keyboard.c: Rework previous change; it didn't consider that the 3 * keyboard.c: Rework previous change; it didn't consider that the
4 buf array was allocated on the stack. 4 buf array was allocated on the stack.
5 (prev_read): Remove variable. 5 (prev_read): Remove variable.
6 (read_avail_input_buf): New static event buffer array. 6 (read_avail_input_buf): New static event buffer array.
7 (in_read_avail_input): New static variable to avoid re-entrancy. 7 (in_read_avail_input): New static variable to handle re-entrancy.
8 (read_avail_input): Change buf to pinter to read_avail_input_buf. 8 (read_avail_input): Change buf to pinter to read_avail_input_buf.
9 Use in_read_avail_input to guard against re-entry. 9 Use in_read_avail_input to handle re-entrance; when re-entered,
10 Do not initialize read_avail_input_buf here; instead assume it 10 fully initialize and use tmp_buf array instead of read_avail_input_buf.
11 Do not initialize read_avail_input_buf in full here; instead assume it
11 is always cleared on entry. To ensure that, we clear (just) the 12 is always cleared on entry. To ensure that, we clear (just) the
12 entries that were used before we return. 13 entries that were used before we return.
13 (init_keyboard): Initialize read_avail_input_buf here. 14 (init_keyboard): Initialize read_avail_input_buf here.
14 15
15 2004-02-16 Jesper Harder <harder@ifa.au.dk> (tiny change) 16 2004-02-16 Jesper Harder <harder@ifa.au.dk> (tiny change)