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

ruby-changes:21761

From: akr <ko1@a...>
Date: Tue, 22 Nov 2011 07:01:48 +0900 (JST)
Subject: [ruby-changes:21761] akr:r33810 (trunk): * test/ruby/test_io.rb (test_fcntl_dupfd): there is no known platform

akr	2011-11-22 07:00:50 +0900 (Tue, 22 Nov 2011)

  New Revision: 33810

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

  Log:
    * test/ruby/test_io.rb (test_fcntl_dupfd): there is no known platform
      which don't have F_DUPFD.  [ruby-dev:44874]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_io.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33809)
+++ ChangeLog	(revision 33810)
@@ -1,3 +1,8 @@
+Tue Nov 22 06:59:21 2011  Tanaka Akira  <akr@f...>
+
+	* test/ruby/test_io.rb (test_fcntl_dupfd): there is no known platform
+	  which don't have F_DUPFD.  [ruby-dev:44874]
+
 Tue Nov 22 04:46:22 2011  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych.rb: remove autoload from psych
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 33809)
+++ test/ruby/test_io.rb	(revision 33810)
@@ -1927,7 +1927,7 @@
         IO.for_fd(fd).close
       end
     end
-  end if defined?(Fcntl::F_DUPFD)
+  end
 
   def test_cross_thread_close_fd
     skip "cross thread close causes hung-up if pipe." if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM

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

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