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

ruby-changes:34135

From: akr <ko1@a...>
Date: Thu, 29 May 2014 00:06:44 +0900 (JST)
Subject: [ruby-changes:34135] akr:r46216 (trunk): Close fds.

akr	2014-05-29 00:06:39 +0900 (Thu, 29 May 2014)

  New Revision: 46216

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

  Log:
    Close fds.

  Modified files:
    trunk/test/openssl/test_pair.rb
Index: test/openssl/test_pair.rb
===================================================================
--- test/openssl/test_pair.rb	(revision 46215)
+++ test/openssl/test_pair.rb	(revision 46216)
@@ -87,6 +87,7 @@ module OpenSSL::TestEOF1M https://github.com/ruby/ruby/blob/trunk/test/openssl/test_pair.rb#L87
     yield s1
   ensure
     th.join
+    s1.close
   end
 end
 
@@ -97,6 +98,7 @@ module OpenSSL::TestEOF2M https://github.com/ruby/ruby/blob/trunk/test/openssl/test_pair.rb#L98
     yield s2
   ensure
     th.join
+    s2.close
   end
 end
 

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

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