diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-13 07:26:52 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-13 07:26:52 +0000 |
commit | a8739621cf62695282ab971cac9c6ea48745b027 (patch) | |
tree | 765f4580f411e47e597020f66ce2c80075817c02 /mkconfig.rb | |
parent | f6628871b5d7d1b237dfebcee09b4c304ed6d1d9 (diff) | |
download | ruby-a8739621cf62695282ab971cac9c6ea48745b027.tar.gz |
* lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
escapes. [ruby-dev:33726]
* bootstraptest/test_method.rb enc/depend instruby.rb lib/mkmf.rb
mkconfig.rb: revert r15443. ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rwxr-xr-x | mkconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkconfig.rb b/mkconfig.rb index e39307b48b..6a2eb64040 100755 --- a/mkconfig.rb +++ b/mkconfig.rb @@ -159,7 +159,7 @@ print <<EOS config[v] = false RbConfig::expand(key, config) config[v] = key - key = key.gsub(/\#{Regexp.quote(pat)}(?=\\s|\\z)/n, sub) if pat + key = key.gsub(/\#{Regexp.quote(pat)}(?=\\s|\\z)/n) {sub} if pat key else var |