ruby-changes:51411
From: kazu <ko1@a...>
Date: Sun, 10 Jun 2018 01:05:43 +0900 (JST)
Subject: [ruby-changes:51411] kazu:r63617 (trunk): Revert "Use `&.` instead of modifier if"
kazu 2018-06-10 01:05:38 +0900 (Sun, 10 Jun 2018) New Revision: 63617 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63617 Log: Revert "Use `&.` instead of modifier if" This reverts commit 9d015aa91cc3ec45e41be58fd836fb7f6655a624. Because tool/extlibs.rb runs with BASERUBY that may be ruby < 2.3 Modified files: trunk/tool/extlibs.rb Index: tool/extlibs.rb =================================================================== --- tool/extlibs.rb (revision 63616) +++ tool/extlibs.rb (revision 63617) @@ -65,7 +65,7 @@ class ExtLibs https://github.com/ruby/ruby/blob/trunk/tool/extlibs.rb#L65 when '.zip' pid = Process.spawn("unzip", inp, "-d", dir) end - f&.close + f.close if f Process.wait(pid) $?.success? or raise "failed to extract #{cache}" end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/