mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
10735e2d03
commit
19f035ccee
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue