HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/patches/ruby/2.3.4/fix_rb_thread_fd_close.patch
--- ruby_2_3/thread.c  2017/04/09 11:53:53 58288
+++ ruby_2_3/thread.c  2017/04/09 13:26:01 58289
@@ -2187,6 +2187,12 @@
     return busy;
 }

+void
+rb_thread_fd_close(int fd)
+{
+    while (rb_notify_fd_close(fd));
+}
+
 /*
  *  call-seq:
  *     thr.raise