mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
001117
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d11c322d1
commit
46608d361a
3 changed files with 3 additions and 16 deletions
|
@ -769,6 +769,7 @@ ruby_connect(fd, sockaddr, len, socks)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef HAVE_FCNTL
|
#ifdef HAVE_FCNTL
|
||||||
|
mode &= ~NONBLOCKING; /* needed? */
|
||||||
fcntl(fd, F_SETFL, mode);
|
fcntl(fd, F_SETFL, mode);
|
||||||
#endif
|
#endif
|
||||||
return status;
|
return status;
|
||||||
|
|
14
io.c
14
io.c
|
@ -123,20 +123,6 @@ extern int ReadDataPending();
|
||||||
}\
|
}\
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#ifndef EWOULDBLOCK
|
|
||||||
#define EWOULDBLOCK EAGAIN
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef O_NDELAY
|
|
||||||
# define NONBLOCKING O_NDELAY
|
|
||||||
#else
|
|
||||||
#ifdef O_NBIO
|
|
||||||
# define NONBLOCKING O_NBIO
|
|
||||||
#else
|
|
||||||
# define NONBLOCKING O_NONBLOCK
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
rb_eof_error()
|
rb_eof_error()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.6.2"
|
#define RUBY_VERSION "1.6.2"
|
||||||
#define RUBY_RELEASE_DATE "2000-11-16"
|
#define RUBY_RELEASE_DATE "2000-11-17"
|
||||||
#define RUBY_VERSION_CODE 162
|
#define RUBY_VERSION_CODE 162
|
||||||
#define RUBY_RELEASE_CODE 20001116
|
#define RUBY_RELEASE_CODE 20001117
|
||||||
|
|
Loading…
Add table
Reference in a new issue