зеркало из https://github.com/github/ruby.git
* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
be more careful. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a34f81561d
Коммит
800081d0c8
|
@ -1,3 +1,8 @@
|
|||
Wed Aug 31 00:50:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
|
||||
be more careful.
|
||||
|
||||
Wed Aug 31 00:48:38 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* thread.c (rb_thread_select): critical typo in r33117.
|
||||
|
|
|
@ -2818,7 +2818,7 @@ rb_w32_select_with_thread(int nfds, fd_set *rd, fd_set *wr, fd_set *ex,
|
|||
if (else_rd.fdset->fd_count || else_wr.fdset->fd_count) {
|
||||
r = do_select(nfds, rd, wr, ex, &zero); // polling
|
||||
if (r < 0) break; // XXX: should I ignore error and return signaled handles?
|
||||
r = copy_fd(rd, else_rd.fdset);
|
||||
r += copy_fd(rd, else_rd.fdset);
|
||||
r += copy_fd(wr, else_wr.fdset);
|
||||
if (ex)
|
||||
r += ex->fd_count;
|
||||
|
|
Загрузка…
Ссылка в новой задаче