зеркало из https://github.com/github/ruby.git
mkmf.rb: timestamp_file
* 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:
Родитель
e627955d14
Коммит
5f06ee7ea0
|
@ -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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче