summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/socket/socket.c1
-rw-r--r--io.c14
-rw-r--r--version.h4
3 files changed, 3 insertions, 16 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index e77e3d6..e664090 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -769,6 +769,7 @@ ruby_connect(fd, sockaddr, len, socks)
}
}
#ifdef HAVE_FCNTL
+ mode &= ~NONBLOCKING; /* needed? */
fcntl(fd, F_SETFL, mode);
#endif
return status;
diff --git a/io.c b/io.c
index 1cdc5f1..6470788 100644
--- a/io.c
+++ b/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()
{
diff --git a/version.h b/version.h
index acb980b..7fc96b0 100644
--- a/version.h
+++ b/version.h
@@ -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