diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-06 08:10:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-06 08:10:20 +0000 |
commit | f96c171ebc8ddda95083e6f19162e9aa9c73f67f (patch) | |
tree | 22f32b245a89b33b8b67c9bb99fd1f03b8877c88 /ext/readline/readline.c | |
parent | 5e62a1bd2988529490baaff3149f12d812a6a5ea (diff) | |
download | ruby-f96c171ebc8ddda95083e6f19162e9aa9c73f67f.tar.gz |
readline.c: fix waiting fucntion
* ext/readline/readline.c (getc_body): use
rb_w32_wait_events_blocking in block region.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline/readline.c')
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index ab1b0b2a70..ff4c4d0075 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -182,7 +182,7 @@ getc_body(struct getc_struct *p) ReadConsoleInput(h, &ir, 1, &n); } } else { - rb_w32_wait_events(&h, 1, INFINITE); + rb_w32_wait_events_blocking(&h, 1, INFINITE); } } else { break; |