summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-06 08:10:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-06 08:10:20 +0000
commitf96c171ebc8ddda95083e6f19162e9aa9c73f67f (patch)
tree22f32b245a89b33b8b67c9bb99fd1f03b8877c88 /ext/readline
parent5e62a1bd2988529490baaff3149f12d812a6a5ea (diff)
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')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index ab1b0b2..ff4c4d0 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;