[前][次][番号順一覧][スレッド一覧]

ruby-changes:42212

From: usa <ko1@a...>
Date: Fri, 25 Mar 2016 22:53:35 +0900 (JST)
Subject: [ruby-changes:42212] usa:r54286 (ruby_2_1): * test/openssl/utils.rb (start_server): check nil.

usa	2016-03-25 22:53:29 +0900 (Fri, 25 Mar 2016)

  New Revision: 54286

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54286

  Log:
    * test/openssl/utils.rb (start_server): check nil.

  Modified files:
    branches/ruby_2_1/test/openssl/utils.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/test/openssl/utils.rb
===================================================================
--- ruby_2_1/test/openssl/utils.rb	(revision 54285)
+++ ruby_2_1/test/openssl/utils.rb	(revision 54286)
@@ -321,8 +321,8 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOP https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/openssl/utils.rb#L321
         end
       end
     ensure
-      stop_pipe_r.close if !stop_pipe_r.closed?
-      stop_pipe_w.close if !stop_pipe_w.closed?
+      stop_pipe_r.close if stop_pipe_r && !stop_pipe_r.closed?
+      stop_pipe_w.close if stop_pipe_w && !stop_pipe_w.closed?
       assert_join_threads(threads)
     end
 
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 54285)
+++ ruby_2_1/version.h	(revision 54286)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.9"
 #define RUBY_RELEASE_DATE "2016-03-25"
-#define RUBY_PATCHLEVEL 483
+#define RUBY_PATCHLEVEL 484
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]