mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (do_select): rollback r24680. void struct initializer is
invalid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fcf88c1b8d
commit
12a4e27f17
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Aug 28 13:30:43 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* thread.c (do_select): rollback r24680. void struct initializer is
|
||||||
|
invalid.
|
||||||
|
|
||||||
Fri Aug 28 11:45:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Aug 28 11:45:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* method.h (rb_method_definition_t): split from rb_method_entry_
|
* method.h (rb_method_definition_t): split from rb_method_entry_
|
||||||
|
|
2
thread.c
2
thread.c
|
@ -2355,7 +2355,7 @@ do_select(int n, fd_set *read, fd_set *write, fd_set *except,
|
||||||
struct timeval *timeout)
|
struct timeval *timeout)
|
||||||
{
|
{
|
||||||
int result, lerrno;
|
int result, lerrno;
|
||||||
fd_set orig_read = {}, orig_write = {}, orig_except = {};
|
fd_set orig_read, orig_write, orig_except;
|
||||||
|
|
||||||
#ifndef linux
|
#ifndef linux
|
||||||
double limit = 0;
|
double limit = 0;
|
||||||
|
|
Loading…
Reference in a new issue