ruby-changes:55627
From: NAKAMURA <ko1@a...>
Date: Tue, 30 Apr 2019 18:02:06 +0900 (JST)
Subject: [ruby-changes:55627] NAKAMURA Usaku:5a83a1d554 (trunk): **Must** use IO::NULL for null device
https://git.ruby-lang.org/ruby.git/commit/?id=5a83a1d554 From 5a83a1d55454d42cbf5b0bcc9df9c9c83e3a39d7 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku <usa@r...> Date: Tue, 30 Apr 2019 18:01:17 +0900 Subject: **Must** use IO::NULL for null device diff --git a/tool/merger.rb b/tool/merger.rb index 1ede6c8..755e55c 100755 --- a/tool/merger.rb +++ b/tool/merger.rb @@ -221,7 +221,7 @@ class << Merger https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L221 def svn_mode? return @svn_mode if defined?(@svn_mode) - @svn_mode = system("svn info > /dev/null 2>&1") + @svn_mode = system("svn info > #{IO::NULL} 2>&1") end # Prints the version of Ruby found in version.h -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/