summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--io.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 657fd09a26..a70fefd8e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Dec 15 12:55:29 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * io.c (rb_io_wait_writable): add to call rb_thread_wait_fd()
+ likes rb_io_wait_readable.
+
Sat Dec 15 11:54:50 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_io_wait_writable): don't call rb_thread_fd_writable()
diff --git a/io.c b/io.c
index ac5230910b..951505c6a4 100644
--- a/io.c
+++ b/io.c
@@ -1023,6 +1023,7 @@ rb_io_wait_writable(int f)
#if defined(ERESTART)
case ERESTART:
#endif
+ rb_thread_wait_fd(f);
return TRUE;
case EAGAIN: