ruby-changes:46070
From: usa <ko1@a...>
Date: Sun, 26 Mar 2017 17:25:20 +0900 (JST)
Subject: [ruby-changes:46070] usa:r58141 (ruby_2_2): * thread.c (rb_thread_fd_close): unintentionally removed at r58094.
usa 2017-03-26 17:25:14 +0900 (Sun, 26 Mar 2017) New Revision: 58141 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58141 Log: * thread.c (rb_thread_fd_close): unintentionally removed at r58094. Modified files: branches/ruby_2_2/ChangeLog branches/ruby_2_2/thread.c branches/ruby_2_2/version.h Index: ruby_2_2/thread.c =================================================================== --- ruby_2_2/thread.c (revision 58140) +++ ruby_2_2/thread.c (revision 58141) @@ -2159,6 +2159,12 @@ rb_notify_fd_close(int fd) https://github.com/ruby/ruby/blob/trunk/ruby_2_2/thread.c#L2159 return busy; } +void +rb_thread_fd_close(int fd) +{ + while (rb_notify_fd_close(fd)); +} + /* * call-seq: * thr.raise Index: ruby_2_2/ChangeLog =================================================================== --- ruby_2_2/ChangeLog (revision 58140) +++ ruby_2_2/ChangeLog (revision 58141) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1 +Sun Mar 26 17:24:02 2017 NAKAMURA Usaku <usa@r...> + + * thread.c (rb_thread_fd_close): unintentionally removed at r58094. + Sun Mar 26 16:24:02 2017 NAKAMURA Usaku <usa@r...> * test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread): Index: ruby_2_2/version.h =================================================================== --- ruby_2_2/version.h (revision 58140) +++ ruby_2_2/version.h (revision 58141) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1 #define RUBY_VERSION "2.2.7" #define RUBY_RELEASE_DATE "2017-03-26" -#define RUBY_PATCHLEVEL 467 +#define RUBY_PATCHLEVEL 468 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/