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

ruby-changes:39820

From: akr <ko1@a...>
Date: Sun, 20 Sep 2015 02:19:13 +0900 (JST)
Subject: [ruby-changes:39820] akr:r51901 (trunk): * test/lib/envutil.rb: mkfifo command based File.mkfifo method

akr	2015-09-20 02:18:49 +0900 (Sun, 20 Sep 2015)

  New Revision: 51901

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

  Log:
    * test/lib/envutil.rb: mkfifo command based File.mkfifo method
      definition removed.

  Modified files:
    trunk/ChangeLog
    trunk/test/lib/envutil.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51900)
+++ ChangeLog	(revision 51901)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Sep 20 02:18:10 2015  Tanaka Akira  <akr@f...>
+
+	* test/lib/envutil.rb: mkfifo command based File.mkfifo method
+	  definition removed.
+
 Fri Sep 18 20:11:11 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* file.c (rb_file_s_mkfifo): implement File.mkfifo.
Index: test/lib/envutil.rb
===================================================================
--- test/lib/envutil.rb	(revision 51900)
+++ test/lib/envutil.rb	(revision 51901)
@@ -3,11 +3,6 @@ require "open3" https://github.com/ruby/ruby/blob/trunk/test/lib/envutil.rb#L3
 require "timeout"
 require_relative "find_executable"
 
-def File.mkfifo(fn)
-  ret = system("mkfifo", fn)
-  raise NotImplementedError, "mkfifo fails" if !ret
-end unless File.respond_to?(:mkfifo) or /mswin|mingw|bccwin/ =~ RUBY_PLATFORM
-
 module EnvUtil
   def rubybin
     if ruby = ENV["RUBY"]

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

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