mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
prepare to alpha
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f96faa860b
commit
bcab5ca9d1
14 changed files with 435 additions and 334 deletions
|
|
@ -535,14 +535,12 @@ thread_connect(fd, sockaddr, len, type)
|
|||
}
|
||||
if (status < 0) {
|
||||
switch (errno) {
|
||||
#ifdef EINPROGRESS
|
||||
case EINPROGRESS:
|
||||
#ifdef EAGAIN
|
||||
case EAGAIN:
|
||||
#ifdef EINPROGRESS
|
||||
case EINPROGRESS:
|
||||
#endif
|
||||
FD_ZERO(&fds);
|
||||
FD_SET(fd, &fds);
|
||||
rb_thread_select(fd+1, 0, &fds, 0, 0);
|
||||
rb_thread_fd_writable(fd);
|
||||
continue;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue