summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 20:53:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 20:53:21 +0000
commit19f035ccee65846678357f3b2e145191dabb6424 (patch)
tree7881987f47e11a7b36c0e2524752e6e03cd1e41d
parent10735e2d03a28234c45a3dba682f8f8f50e24722 (diff)
mkconfig.rb: must not be frozen
* tool/mkconfig.rb: rbconfig must not be fronzen-string-literal to expand CONFIG hash. [ruby-core:72006] [Bug #11798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/mkconfig.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9804f7a..24dcb11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 10 05:53:18 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * tool/mkconfig.rb: rbconfig must not be fronzen-string-literal to
+ expand CONFIG hash. [ruby-core:72006] [Bug #11798]
+
Thu Dec 10 05:03:51 2015 Eric Wong <e@80x24.org>
* ext/socket/ifaddr.c (ifaddr_mark): remove empty function
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 49b841f..fdba709 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -172,6 +172,7 @@ prefix = vars.expand(vars["prefix"] ||= "")
rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
puts %[\
+# frozen-string-literal: false
# This file was created by #{mkconfig} when ruby was built. It contains
# build information for ruby which is used e.g. by mkmf to build
# compatible native extensions. Any changes made to this file will be