Make Haiku event buffer non-static
* src/haikuterm.c (haiku_read_socket): Don't make `buf' static in case thread yielding happens inside.
This commit is contained in:
parent
70c4b5bdc6
commit
96be8458b0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue