From: Po Lu Date: Wed, 11 May 2022 06:59:39 +0000 (+0000) Subject: Make Haiku event buffer non-static X-Git-Tag: emacs-29.0.90~1910^2~820 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96be8458b09f95eb33a149b724e40c1b38c78478;p=emacs.git Make Haiku event buffer non-static * src/haikuterm.c (haiku_read_socket): Don't make `buf' static in case thread yielding happens inside. --- diff --git a/src/haikuterm.c b/src/haikuterm.c index ec6a8f0cea1..58855d07fb8 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -2998,7 +2998,7 @@ static int haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit) { int message_count; - static void *buf; + void *buf; ssize_t b_size; int button_or_motion_p, do_help; enum haiku_event_type type;