From 12a4e27f17d5170d2bee6af6408495864679ec3e Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 28 Aug 2009 04:35:29 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ thread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c045242eb2..b03b806444 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 28 13:30:43 2009 NAKAMURA Usaku + + * thread.c (do_select): rollback r24680. void struct initializer is + invalid. + Fri Aug 28 11:45:33 2009 Nobuyoshi Nakada * method.h (rb_method_definition_t): split from rb_method_entry_ diff --git a/thread.c b/thread.c index f00b5dce71..05d129de2a 100644 --- a/thread.c +++ b/thread.c @@ -2355,7 +2355,7 @@ do_select(int n, fd_set *read, fd_set *write, fd_set *except, struct timeval *timeout) { int result, lerrno; - fd_set orig_read = {}, orig_write = {}, orig_except = {}; + fd_set orig_read, orig_write, orig_except; #ifndef linux double limit = 0;