ruby-changes:45714
From: nobu <ko1@a...>
Date: Mon, 6 Mar 2017 17:10:24 +0900 (JST)
Subject: [ruby-changes:45714] nobu:r57787 (trunk): readline.c: fix waiting fucntion
nobu 2017-03-06 17:10:20 +0900 (Mon, 06 Mar 2017) New Revision: 57787 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57787 Log: readline.c: fix waiting fucntion * ext/readline/readline.c (getc_body): use rb_w32_wait_events_blocking in block region. Modified files: trunk/ext/readline/readline.c Index: ext/readline/readline.c =================================================================== --- ext/readline/readline.c (revision 57786) +++ ext/readline/readline.c (revision 57787) @@ -182,7 +182,7 @@ getc_body(struct getc_struct *p) https://github.com/ruby/ruby/blob/trunk/ext/readline/readline.c#L182 ReadConsoleInput(h, &ir, 1, &n); } } else { - rb_w32_wait_events(&h, 1, INFINITE); + rb_w32_wait_events_blocking(&h, 1, INFINITE); } } else { break; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/