зеркало из https://github.com/github/ruby.git
* test/lib/envutil.rb: mkfifo command based File.mkfifo method
definition removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b026a71750
Коммит
c748ac9893
|
@ -1,3 +1,8 @@
|
|||
Sun Sep 20 02:18:10 2015 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/lib/envutil.rb: mkfifo command based File.mkfifo method
|
||||
definition removed.
|
||||
|
||||
Fri Sep 18 20:11:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c (rb_file_s_mkfifo): implement File.mkfifo.
|
||||
|
|
|
@ -3,11 +3,6 @@ require "open3"
|
|||
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"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче