зеркало из https://github.com/github/ruby.git
001117
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0d11c322d1
Коммит
46608d361a
|
@ -769,6 +769,7 @@ ruby_connect(fd, sockaddr, len, socks)
|
|||
}
|
||||
}
|
||||
#ifdef HAVE_FCNTL
|
||||
mode &= ~NONBLOCKING; /* needed? */
|
||||
fcntl(fd, F_SETFL, mode);
|
||||
#endif
|
||||
return status;
|
||||
|
|
14
io.c
14
io.c
|
@ -123,20 +123,6 @@ extern int ReadDataPending();
|
|||
}\
|
||||
} 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
|
||||
rb_eof_error()
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#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_RELEASE_CODE 20001116
|
||||
#define RUBY_RELEASE_CODE 20001117
|
||||
|
|
Загрузка…
Ссылка в новой задаче