ruby-changes:39680
From: nobu <ko1@a...>
Date: Sat, 5 Sep 2015 00:27:08 +0900 (JST)
Subject: [ruby-changes:39680] nobu:r51761 (trunk): fake.rb: suppress warning
nobu 2015-09-05 00:27:02 +0900 (Sat, 05 Sep 2015) New Revision: 51761 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51761 Log: fake.rb: suppress warning * tool/fake.rb: get rid of use of uninitialized global variable. Modified files: trunk/tool/fake.rb Index: tool/fake.rb =================================================================== --- tool/fake.rb (revision 51760) +++ tool/fake.rb (revision 51761) @@ -6,7 +6,7 @@ class File https://github.com/ruby/ruby/blob/trunk/tool/fake.rb#L6 end end -static = !!$static +static = !!(defined?($static) && $static) $:.unshift(builddir) posthook = proc do config = RbConfig::CONFIG -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/