From b9568dfc774d8f4eef30229e898a5b8dff755e41 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 17 Feb 2004 00:28:22 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 865b4912c97..f66d21d83b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,10 +4,11 @@ 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. + (in_read_avail_input): New static variable to handle 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 + Use in_read_avail_input to handle re-entrance; when re-entered, + fully initialize and use tmp_buf array instead of read_avail_input_buf. + Do not initialize read_avail_input_buf in full 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. -- 2.39.2