* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
  configure variables.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-11-02 11:11:21 +00:00
Родитель e627955d14
Коммит 5f06ee7ea0
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -1,4 +1,7 @@
Fri Nov 2 20:02:22 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Nov 2 20:11:17 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
configure variables.
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a * lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
special character of NMAKE and BSD make. [Bug #7265] special character of NMAKE and BSD make. [Bug #7265]
@ -17,7 +20,7 @@ Fri Nov 2 17:52:12 2012 Shugo Maeda <shugo@ruby-lang.org>
a refinement, returns a string in the format #<refinement:C@M>, a refinement, returns a string in the format #<refinement:C@M>,
where C is a refined class and M is a module at which the refinemet where C is a refined class and M is a module at which the refinemet
is defined. is defined.
* eval.c (rb_mod_refine): store information on a refinement for the * eval.c (rb_mod_refine): store information on a refinement for the
above change. above change.

Просмотреть файл

@ -1859,7 +1859,7 @@ preload = #{defined?($preload) && $preload ? $preload.join(' ') : ''}
end end
def timestamp_file(name) def timestamp_file(name)
name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "@" : $2 ? ".-." : "_"} name = name.gsub(/(\$[({]|[})])|(\/+)|[^-.\w]+/) {$1 ? "" : $2 ? ".-." : "_"}
"./.#{name}.time" "./.#{name}.time"
end end
# :startdoc: # :startdoc: